extern pid_t last_forked_pid;
}
+// This is a mock for a Dasynq-based event loop
class eventloop_t
{
time_val current_time {0, 0};
}
}
+ void send_fd_event(int fd, int events)
+ {
+ auto i = regd_fd_watchers.find(fd);
+ if (i != regd_fd_watchers.end()) {
+ i->second->fd_event(*this, fd, events);
+ }
+ }
+
class child_proc_watcher
{
public: