On Thursday 08 February 2007 00:20, Slava Pestov wrote:
> User code is supposed to use combinators like with-stream which close
> the stream if there's an error. If you're managing a pool of client
> connections, you should write your own logic to close the streams if
> there's an error.
stream [ ... ] with-stream
The handbook says:
"The stream is closed if the quotation returns or throws an error."
*any* error for any reason? Or just errors thrown due to a failed operation on
the stream? For example, if the ... performs io on other streams and one of
those operations throws an error, will this cause with-stream to close
stream?
Ed
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk