7 The stream_pool library
All
Application
Manual
Name
Summary
Help
Documentation
Reference manual
Packages
SWI-Prolog C-library
The stream_pool library
add_stream_to_pool/2
delete_stream_from_pool/1
close_stream_pool/0
dispatch_stream_pool/1
stream_pool_main_loop/0
Availability:
:- use_module(
library(streampool)
).
(can be autoloaded)
add_stream_to_pool
(
+Stream, :Goal
)
Add
Stream
, which must be an input stream and ---on non-unix systems--- connected to a socket to the pool. If input is available on
Stream
,
Goal
is called.