Re: Help: multithreaded GNOME app
- From: Jason Tackaberry <tack dok org>
- To: Roland Dreier <droland mail math okstate edu>
- Cc: gnome-list gnome org
- Subject: Re: Help: multithreaded GNOME app
- Date: Mon, 1 Feb 1999 17:06:49 -0500
> Look into condition variables. Basically, the gtk thread could sleep
> while waiting for the length of the queue to become more than 0. Then any
> time another thread added something to the queue, it would wake up the
> sleeping gtk thread.
I don't think that will work because the gtk+ thread has to be able to handle X
events, and it can't do that if it's waiting on a condition variable.
Jason.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]