Hi,

IMHO these "select" functions are primarily supposed to help you with unwanted emulator-process-blocking when doing network communication, not with disk file access.

I suggest that you take a look at the man pages of the underlying C function select(), e.g. at
 http://bama.ua.edu/cgi-bin/man-cgi?select+3C

(among other things, you may learn from the reference above that the call always returns immediately when the supplied argument is a disk file descriptor).

Hope this helps,
Filip
Respected members,
Can you please elucidate more on the command {OS.readSelect Desc}, which is used for blocking process in the context of files. The explanation in the mozart documentation is not sufficient and clear. An early reply would be most helpful.
Regards,
Kanchana Vasudevan

On 3/12/07, *kanchana vasudevan* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    ok sure. We will not do it again.
    kanchana

On 3/12/07, *Raphael Collet* <[EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>> wrote:

        Please do not send me personal email with these
        questions.  Post them on
        the mozart-users mailing list instead.

        Regards,
        raph

        kanchana vasudevan wrote:
        > Hello Sir,
        >             The example which you had sent was very helpful.
        In this
        > regard, I would like to know how the variables 'In/Out'  are
        assigned to
        > the file descriptors in the command
        > {OS.pipe 'ps' ['-A'] Pid In#Out} and how it can be reassigned to
        > multiple files?
        > Regards,
        > Kanchana Vasudevan
        >



------------------------------------------------------------------------

_________________________________________________________________________________
mozart-users mailing list                               
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users


--
Filip Konvička

LOGIS, s.r.o.
tel. +420 556 841 100
mob. +420 736 758 714

_________________________________________________________________________________
mozart-users mailing list                               
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users

Reply via email to