Re: Help: multithreaded GNOME app
- From: Roland Dreier <droland mail math okstate edu>
- To: Jason Tackaberry <tack dok org>
- cc: gnome-list gnome org
- Subject: Re: Help: multithreaded GNOME app
- Date: Tue, 2 Feb 1999 13:42:09 -0600 (CST)
On Mon, 1 Feb 1999, Roland Dreier wrote:
> 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.
Sorry, brain cramp on this idea. I didn't really think the problem
through; I just saw the part about not wanting to busy wait for a
condition and didn't realize that the thread needs to keep running.
My bad.
Roland
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]