! Copyright (C) 2003, 2004 Mackenzie Straight. IN: io USING: compiler namespaces kernel win32-io-internals win32-stream win32-api threads ; : ; : ; : ; IN: io-internals : io-multiplex ( timeout -- ) #! FIXME: needs to work given a timeout dup -1 = [ drop INFINITE ] when cancel-timedout wait-for-io swap [ schedule-thread-with ] [ drop ] if* ; : init-io ( -- ) win32-init-stdio ;