On Fri, Apr 6, 2012 at 12:53 AM, Michael Lutz
<mytemike72@gmail.com> wrote:
Hi,
Can someone please give me an answer, I am problaby not the first to notice…
I need to know why (and how to avoid) ESLevent RecvEventTimed(0) being blocking and keeps waiting for event to arrive, as it should not.
It seems to ignore any form of time you pass as parameter and just always wait for an event.
Btw, I am on Windows…
You say that no matter what value you put in for the argument that it always waits for an event? On a Linux box I tested Tony's suggestion about using 1 vs 0 and it worked. I just tested on latest git from 2 days ago and I definitely have "polling" behavior when I use 1 but I have "wait forever" behavior when I use 0. I suspect that the wiki is wrong. (Sadly, this means that chapter 9, page 224 is also wrong.)
I'll try testing on Windows later today and see what I get. BTW, are you building FS from scratch or are you using the weekly binaries?
-MC