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

Re: select/3 call equivalent in mzscheme



>>>>> "Chris" == Chris Wright <caw@cs.mu.oz.au> writes:

Chris> What's the best way to do a

Chris> select(if_list, of_list, exc_list, time_out)

Chris> [
Chris> which sees if there is any input/output/exceptions on the three file
Chris> descriptor lists (if_list, of_list, exc_list), and times out after time_out
Chris> (modulo MS-Windows idea of a file_descriptor ;-)
Chris> ]

Chris> call in mzscheme?

What for?  MzScheme is multi-threaded, so the style of I/O programming
is usually different from the usual single-threaded polling in C.

-- 
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla