Re: GEvent - Proposal for a new threading structure for GLib
- From: "Andrew Paprocki" <andrew ishiboo com>
- To: "Matthew Barnes" <mbarnes redhat com>, gtk-devel-list gnome org
- Subject: Re: GEvent - Proposal for a new threading structure for GLib
- Date: Fri, 17 Nov 2006 13:35:51 -0500
On 11/17/06, mark mark mielke cc <mark mark mielke cc> wrote:
I would suggest that somebody look at what the full requirements are,
and not mimic Python. :-)
I agree. I suggest that the use/syntax of .NET's WaitHandle,
AutoResetEvent, ManualResetEvent be looked over. .NET/mono make this
concept very easy to use. More specifically, the semantics behind Auto
vs Manual, as well as the ability to WaitOne() on a single handle
versus WaitAny() & WaitAll() on an array of them.
Lazy links:
http://msdn2.microsoft.com/en-us/library/system.threading.waithandle.aspx
http://msdn2.microsoft.com/en-us/library/system.threading.autoresetevent.aspx
http://msdn2.microsoft.com/en-us/library/system.threading.manualresetevent.aspx
-Andrew
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]