Re: Threads and waits
- From: "Wallace Owen" <wallace owen L-3Com com>
- To: Fernando Apesteguía <fernando apesteguia gmail com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Threads and waits
- Date: Wed, 15 Feb 2006 08:53:26 -0800
On Wed, 2006-02-15 at 16:26 +0100, Fernando Apesteguía wrote:
Hi,
...
Under some conditions I would like the collector thread to make a pause. I
don't know how to do it with POSIX functions. I've seen Glib's API
documentation and I'm not sure how could I make this. ¿Should I use a Gcond?
As I can see in documentation, g_thread_yield is not recommended to be used.
I've used select, with no read write or exception descriptor sets but
just the time I wanted it to suspend that thread.
// Wally
--
Constructing a program is like painting a room. A beginner at either
will start in one corner and end in another, left there to discover just
how important approach and technique are in obtaining a good result.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]