Session termination induced by socket fixed

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
This commit is contained in:
Martin Sustrik
2011-05-31 14:36:51 +02:00
parent 0b59866a84
commit a24a7c15a8
4 changed files with 23 additions and 25 deletions

View File

@@ -94,8 +94,9 @@ namespace zmq
// Ask pipe to terminate. The termination will happen asynchronously
// and user will be notified about actual deallocation by 'terminated'
// event.
void terminate ();
// event. If delay is true, the pending messages will be processed
// before actual shutdown.
void terminate (bool delay_);
private: