On Jan 23, 2008 6:22 PM, Daniel Schwen lists@schwen.de wrote:
aborting the php script if the write would be blocking.
Maybe using non-blocking I/O would help too ?:)
That would be the obvious choice. But unfortunately there seems to be no way to realize that in PHP. And furthermore if the fifo has no listener there is no point in writing the data. Having the data queued until the listener comes up again would just create a huge backlog of work (map tiles to be rendered) which no one would care about (since the requests for those tiles timed out anyways). -- [[en:User:Dschwen]] [[de:Benutzer:Dschwen]] [[commons:User:Dschwen]]
Toolserver-l mailing list Toolserver-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/toolserver-l
http://nl2.php.net/manual/fi/function.stream-select.php ?
Bryan