gnugo-devel
[Top][All Lists]
Advanced

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

Re: [gnugo-devel] Re: A problem of using select in gmp_check.


From: Paul Pogonyshev
Subject: Re: [gnugo-devel] Re: A problem of using select in gmp_check.
Date: Tue, 30 Mar 2004 23:04:11 +0300
User-agent: KMail/1.6.50

> I'm address@hidden
> 
> Hello Dan. I have been reading GNU Go programs a little by little.
> In interface/gmp.c gmp_check(), I feel a question following lines ?
> 
> >    select(ge->inFile + 1, &readReady, NULL, NULL, &noTime);
> >    if (!gsleep && !FD_ISSET(ge->inFile, &readReady))
> >      return(gmp_nothing);
> >    result = getPacket(ge, out1, out2, error);

Interesting, never thought select() was portable.  I used it in Quarry
in a GTP test program, but otherwise I'm not quite familiar with that,
so I'll leave this issue to somebody else.  Just surprised to know that
there is select() on Windows (since GNU Go works on Windows too).

Paul




reply via email to

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