[Encore] [EnCore] Subscribe & read()
Daniel Jung
jung at uib.no
Fri Jun 15 17:20:02 MDT 2007
Jean-Marc Giffin wrote:
> About the read() function: is there a way to make it so that it
> doesn't just sit and wait forever, or at least that there's a
> time limit?
It should possible, using a fork() and/or a while() expression. I will
come up with a recipe and post it to the list. Can't do it right now,
though. Actually, I tried to come up with some code bits when you first
posted the request, but failed, and I never got back to doing it
properly again. But it shouldn't be much work, so I'll try to do it
anytime soon now. Anyway, this should be generalized into a
$command_utils:read_timelimit() or something; I will try to do that.
Happy week-end :)
- Daniel
More information about the Encore
mailing list