Re: threadpool kill thread



On Mon, Apr 20, 2009 at 12:26 AM, Sharath <sharath kumar79 gmail com> wrote:
> How to kill a thread created from threadpool ?
>

I don't think you can, or should for that matter. You can probably
send it a message through GAsyncQueue and have the thread monitor that
queue at regular intervals so that you can end the thread in a sane
manner. Simply killing it is not safe.


-- 
Siddhesh Poyarekar
http://siddhesh.in


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]