Code cleanup

This commit is contained in:
Martin Hurton
2014-07-09 13:49:40 +02:00
parent bf74c0cfb1
commit 816299f11c
6 changed files with 69 additions and 70 deletions

View File

@@ -40,15 +40,15 @@ namespace zmq
mailbox_t ();
~mailbox_t ();
fd_t get_fd ();
fd_t get_fd () const;
void send (const command_t &cmd_);
int recv (command_t *cmd_, int timeout_);
#ifdef HAVE_FORK
// close the file descriptors in the signaller. This is used in a forked
// child process to close the file descriptors so that they do not interfere
// with the context in the parent process.
void forked() { signaler.forked(); }
void forked () { signaler.forked (); }
#endif
private: