discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSRunLoop and Events


From: Stefan Kleine Stegemann
Subject: NSRunLoop and Events
Date: Thu, 15 Apr 2004 23:15:49 +0200

Hi,

GNUstep provides the possibility to register for events with a runloop
(addEvent:type:watcher:forMode:). As far as i understand, I have
to specify an fd that then is monitored by the runloop. When an
event on the fd occurs, receivedEvent gets called on the watcher.

Assuming that the above is right, is it possible to specify an fdset
instead of a single fd (the API just says (void*) for the event parameter
of addEvent)? I have a couple of fd's and want to get notfied whenever
an event occurs on one of this fd's. I don't have the possibility to
register an event for each fd because the library i'm using gives me
only an fdset.

thanks and greets
Stefan





reply via email to

[Prev in Thread] Current Thread [Next in Thread]