Skip to content

Commit

Permalink
Fix header guards
Browse files Browse the repository at this point in the history
  • Loading branch information
IsabelParedes committed Feb 12, 2024
1 parent d92926c commit f0d316b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
10 changes: 10 additions & 0 deletions src/xserver_uv_shell_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -165,5 +165,15 @@ namespace xeus
{
return xzmq_serializer::serialize_iopub(std::move(msg), *p_auth, m_error_handler);
}

void xserver_uv_shell_main::start_server(zmq::multipart_t& wire_msg)
{
xserver_uv_shell_main::start_publisher_thread();
xserver_uv_shell_main::start_heartbeat_thread();
xserver_uv_shell_main::start_control_thread();

xserver_uv_shell_main::get_shell().publish(wire_msg);
xserver_uv_shell_main::get_shell().run();
}
}

7 changes: 3 additions & 4 deletions src/xserver_uv_shell_main.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
* The full license is in the file LICENSE, distributed with this software. *
****************************************************************************/

#ifndef XEUS_SERVER_ZMQ_SPLIT_HPP
#define XEUS_SERVER_ZMQ_SPLIT_HPP
#ifndef XEUS_SERVER_UV_SHELL_MAIN_HPP
#define XEUS_SERVER_UV_SHELL_MAIN_HPP

#include <atomic>

Expand Down Expand Up @@ -102,7 +102,6 @@ namespace xeus

std::atomic<bool> m_control_stopped;
};

}

#endif // XEUS_SERVER_ZMQ_SPLIT_HPP
#endif // XEUS_SERVER_UV_SHELL_MAIN_HPP

0 comments on commit f0d316b

Please sign in to comment.