Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Wait Port Re:(3)

From: holger:rebol at: 8-Oct-2000 6:01

On Sun, Oct 08, 2000 at 11:00:25AM +0800, [deryk--iitowns--com] wrote:
> [holger--rebol--com] wrote: > > > > On Sat, Oct 07, 2000 at 05:29:47PM -0500, [ptretter--charter--net] wrote: > > > Does anyone know what the default time is that the wait commands polls the > > > port for data. Im not talking about the timeout but the time it check the > > > port to see if data is coming. How fast is that and can it be changed. > > > > Wait does not poll at all. It blocks until any of the ports you specify > > have data. This is done by calling an operating system function, not by > > busy-looping in a poll loop. > > There is no timeout on the select()? If not, for those rolling their own > protocols, should there be the option at the higher Rebol level? :)
You can specify a timeout in the wait block. -- Holger Kruse [holger--rebol--com]