comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Non-Blocking I/O
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Non-Blocking I/O [message #14307] Thu, 11 February 1999 00:00 Go to previous message
Ruediger Kupper is currently offline  Ruediger Kupper
Messages: 7
Registered: February 1999
Junior Member
Hi!

This is a question regarding Inter Process Communication
(IPC) in a UNIX environment:

Is there any way to tell IDL not to wait for the next
incoming data when reading from a file?
Attempting to read from an IPC channel (a pipe or fifo)
using READF or READU will cause IDL to hang until this read
attempt is successful. (Pipes or fifos do not produce an
EOF-signal unless they are explicitely closed by all sending
processes.) This blocking behaviour is undesired if you need
to check more than one IPC channel for any waiting data, or
if you want to incorporate such a check into an event loop.

The only solution I can think of is to provide support for
non-blocking I/O by a set of C-routines which could be
linked to IDL via CALL_EXTAERNAL, but I would prefer using
any "pure IDL" concept.

If anyone out there ran into the same problem, this person
could make a poor, frustrated IDL-programmer very happy by
posting me a little hint...

Best regards,
Ruediger.
[Message index]
 
Read Message
Read Message
Previous Topic: Re: Non-Blocking I/O
Next Topic: subscript array question

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 08:10:57 PDT 2025

Total time taken to generate the page: 0.32019 seconds