Poll timeout limitation

Description

I'm using the √òMQ PHP wrapper to connect to post requests to the C++ daemon and faced the strange problem.
Look at the following piece of code: https://gist.github.com/957007
If I use any timeout less than 1000ms in line 29, poll() always returns empty array of readable sockets.
If I set timeout to 1000ms, then overall script working time (including a large part of some other work) is less than 50ms, so it's definitely problem in poll().

Environment

None

Status

Assignee

Unassigned

Reporter

torkve

Labels

None

Priority