[Gtk-sharp-list] question about threads and g_cond_wait

Travis Miller raphtee at gmail.com
Thu Dec 20 17:45:13 EST 2007


I posted this question to the mono-devel list, but this is probably a more
appropriate place.  the glib c library provides in addtion to the GMutex
structure, the GCond structure.  One can cause a thread to wait on  a
condition (or group of threads) by calling g_cond_wait().  Another thread
can then call g_cond_broadcast() and all threads that are currently blocking
on that wait will wake up and proceed.  This is something I really need for
an app that I am writing.

In a related question, in going through monodoc, I see that very little of
glib is provided.  Is the just a temporary situation?

Travis Miller
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20071220/7ec2c3f8/attachment.html 


More information about the Gtk-sharp-list mailing list