[AGENT++] Problem with trap receive...

Jochen Katz katz at agentpp.com
Mon Jan 10 23:28:25 CET 2005


Hi Fedja,

>>Maybe two member functions start_poll_thread(const int select_timeout)
>>and stop_poll_thread() will be the best option.
> 
> 
> Well, at lest start_pool_thread() would be needed. With a flag set in there,
> the destructor would know that thread is running, so it would close it when
> called.

yes, the destructor should automatically stop the thread. But some users 
might want to stop the thread themselves...

> The thing is it is not that difficult to implement it on the side,
> but it would be easier to deal with this if the member would exist. I have
> already done that, so if you want the code, let me know.

Please fill my inbox with it ;-)

Regards,
   Jochen



More information about the AGENTPP mailing list