allocate reaper_signal only when needed

This commit is contained in:
somdoron
2015-02-12 20:38:49 +02:00
parent bbdd8662ba
commit 5a897f7509
2 changed files with 17 additions and 6 deletions

View File

@@ -261,7 +261,7 @@ namespace zmq
bool thread_safe;
// Signaler to be used in the reaping stage
signaler_t reaper_signaler;
signaler_t* reaper_signaler;
// Mutex for synchronize access to the socket in thread safe mode
mutex_t sync;