No, sorry, I used "poll" in the wrong context. It uses poll(2) or select(2), so it will really wait in the timeout interval. It's only if you specify a time limit of 0.0 that you'll get a busy loop.
/ Martin Stjernholm, Roxen IS
Previous text:
2003-10-21 21:20: Subject: My_Backend and Select
Martin,
I think I understand the process of adding a pike program object and running it as a backend loop, but it's still a polling loop right?
Isn't that a high overhead process? Isn't there a way to wait for activity on a stream or other I/O Object?
Frank
/ Brevbäraren
pike-devel@lists.lysator.liu.se