How to stop a SocketReactor

Please post support and help requests here.
gandriotakis
Posts: 34
Joined: 02 Dec 2011, 20:45

How to stop a SocketReactor

Postby gandriotakis » 10 May 2013, 16:00

I have an application where i need to be able to stop a SocketReactor and join the associated thread. I can call SocketReactor::stop but until there is a socket event, thread loop is blocked and I cannot join the thread. Is there a benign event I can use. The associated socket is a ServerSocket so I cannot do something like send 0 bytes.

gandriotakis
Posts: 34
Joined: 02 Dec 2011, 20:45

Re: How to stop a SocketReactor

Postby gandriotakis » 10 May 2013, 17:29

Never mind. I was registering a handler twice.


Return to “Support”

Who is online

Users browsing this forum: No registered users and 1 guest

cron