|
From: | Helge Hess |
Subject: | NSRunLoop + FileDescriptors |
Date: | Wed, 22 May 2002 11:28:01 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0rc2) Gecko/20020510 |
Hi,how can I watch filedescriptors using gstep-base' NSRunLoop ? Are there any hooks provided ?
Is this correct: ---snip--- int myfd; [runloop addEvent:&myfd type:ET_RDESC watcher:myObserver forMode:[runloop currentMode]]; ---snap--- ? Are there any examples/test-programs for this ? Greetings Helge
[Prev in Thread] | Current Thread | [Next in Thread] |