mirror of
https://github.com/zeromq/libzmq.git
synced 2025-11-10 16:37:45 +01:00
Terminate context in a child process of fork() to replace file descriptors to not interfere with parent process's context
This commit is contained in:
@@ -72,6 +72,11 @@ namespace zmq
|
||||
|
||||
reaper_t (const reaper_t&);
|
||||
const reaper_t &operator = (const reaper_t&);
|
||||
|
||||
#ifdef HAVE_FORK
|
||||
// the process that created this context. Used to detect forking.
|
||||
pid_t pid;
|
||||
#endif
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user