[Top][All Lists]

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

Re: nonblocking I/O

From: Philippe C . D . Robert
Subject: Re: nonblocking I/O
Date: Sun, 29 Oct 2000 13:06:29 +0100

On Thu, 26 Oct 2000 23:26:47 +0100
address@hidden wrote:

> On Thu, 26 Oct 2000 23:53:46 +0200, address@hidden wrote:
> > Hi,
> >
> > in OPENSTEP and MOSX, there is some 'hidden' functionality to allow
> > nonblocking I/O using NSFileHandling. On MOSX there exists i.e. a method
> > -availableDataNonBlocking, on OPENSTEP there is some old NEXTSTEP 'derived'
> > functionality available, not documented but visible from the header (can't
> > check it right now, since I do not have access to OPENSTEP anymore).
> >
> > Is there something comparable in GNUstep as well, or what might I use to
> > implement for example logging of other tasks' stdout using pipes from a
> > GNUstep app? -readInBackgroundAndNotify does not do the job, as it seems.
> Not sure what you want or why -readInBackgroundAndNotify doesn't do the job.
> You probably want
> -waitForDataInBackgroundAndNotify (notifies when a handle is readable)
> -writeInBackgroundAndNotify: (notifies when a handle is writable)
> -initAsClientInBackgroundAtAddress:service:protocol: (socket connect)

Is waitForDataInBackgroundAndNotify: GNUstep specific? I could not find any 
notes about this method in the Cocoa documentation?

cheers, Phil
Philippe C.D. Robert
Developer - StudioSendai.com

reply via email to

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