All Manuals > LispWorks User Guide and Reference Manual > 49 The SYSTEM Package

NextPrevUpTopContentsIndex

wait-for-input-streams-returning-first

Function
Summary

Waits for input on a list of socket streams, returning the first stream that is ready.

Package

system

Signature

wait-for-input-streams-returning-first streams &key wait-function wait-reason timeout => result

Arguments

streams

A list, each member of which is a socket-stream.

wait-function

A function of no arguments.

wait-reason

A string.

timeout

A real number or nil.

Values

result

A socket-stream or nil.

Description

The function wait-for-input-streams-returning-first behaves just like wait-for-input-streams except that it returns the first stream in the list streams that is ready for input.

See also

wait-for-input-streams


LispWorks User Guide and Reference Manual - 13 Feb 2015

NextPrevUpTopContentsIndex