1 /* Copyright (c) 2007-2020. The SimGrid Team. All rights reserved. */
3 /* This program is free software; you can redistribute it and/or modify it
4 * under the terms of the license (GNU LGPL) which comes with this package. */
6 #ifndef SIMGRID_MC_REMOTE_EVENTLOOP_HPP
7 #define SIMGRID_MC_REMOTE_EVENTLOOP_HPP
9 #include <event2/event.h>
16 struct event_base* base_ = nullptr;
17 struct event* socket_event_ = nullptr;
18 struct event* signal_event_ = nullptr;
23 void start(int socket, void (*handler)(int, short, void*));
29 } // namespace simgrid