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: Mon, 1 Feb 1999 15:38:30 -0600 (CST)
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.
The man page for pthread_cond_wait would be a good place to start.
Roland
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]