Re: Basis Library: select for file descriptors

Michael Norrish <[email protected]> Thu, 31 Mar 2016 23:01:38 +0000
Newsgroups gmane.comp.lang.ml.mlton.user
Message-ID <[email protected]>
Thanks for the pointer!

Michael

> On 25 Mar 2016, at 00:27, Christopher Cramer <[email protected]> wrote:
>
> On Thu, Mar 24, 2016 at 12:48:31AM +0000, Michael Norrish wrote:
>> I can see there is select for socket descriptors in the Socket structure,
>> but it doesn't appear as if there is one for file_descs in the Posix
>> structure.  Am I right?  Will my multiplexing file-manipulator just have
>> to busy loop over the descriptors I have?
>
> You can use OS.IO.poll (and Posix.FileSys.fdToIOD and Socket.ioDesc etc.)
> for that. I'm pretty sure Socket.select is intended for use on Windows
> (which has a select that only works with sockets).
>
> --
> You received this message because you are subscribed to the Google Groups "MLton-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
>
>
> ------------------------------------------------------------------------------
> Transform Data into Opportunity.
> Accelerate data analysis in your applications with
> Intel Data Analytics Acceleration Library.
> Click to learn more.
> http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
> _______________________________________________
> MLton-user mailing list
> [email protected]; [email protected]
> https://lists.sourceforge.net/lists/listinfo/mlton-user


________________________________

The information in this e-mail may be confidential and subject to legal professional privilege and/or copyright. National ICT Australia Limited accepts no liability for any damage caused by this email or its attachments.

-- 
You received this message because you are subscribed to the Google Groups "MLton-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].


------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140