Re: threadpool kill thread
- From: Siddhesh Poyarekar <siddhesh poyarekar gmail com>
- To: Sharath <sharath kumar79 gmail com>
- Cc: gtk-list gnome org
- Subject: Re: threadpool kill thread
- Date: Mon, 20 Apr 2009 11:43:05 +0530
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]