Hi,
i am wondering why my program always unloops after a couple of time.
When there are no events or just one poll for read on a listening
socket, my program started to unloop after some time...around 5-10 minutes after
invocation.
I have the Debian Linux distribution, with following software installed:
Linux kernel 2.6.0
gcc version 3.2.3
perl5 (revision 5.0 version 8 subversion 3)
Event-0.87
This is what i get when enabling debugging and strace:
(Example with no events started from me)
And btw. i changed the one_event(60) to one_event(6) in Event.xs
(No difference after all, didn't work with 60 too)
=========================
[.... many poll(...6000) .....]
gettimeofday({1077064189, 915579}, NULL) = 0
gettimeofday({1077064189, 915771}, NULL) = 0
write(2, "Event: multiplex 6.0000s \n", 26Event: multiplex 6.0000s
) = 26
write(2, " at CommonNet.pm line 106\n", 26 at CommonNet.pm line 106
) = 26
poll(0, 0, 6000
) = 0
gettimeofday({1077064195, 917523}, NULL) = 0
gettimeofday({1077064195, 917699}, NULL) = 0
write(2, "Event: multiplex 1.1383s \n", 26Event: multiplex 1.1383s
) = 26
write(2, " at CommonNet.pm line 106\n", 26 at CommonNet.pm line 106
) = 26
poll(0, 0, 1138
) = 0
gettimeofday({1077064197, 58354}, NULL) = 0
gettimeofday({1077064197, 58541}, NULL) = 0
write(2, "Event: unloop(1000)\n", 20Event: unloop(1000)
) = 20
write(2, "Use of uninitialized value in pr"..., 57Use of uninitialized
value in print at ./comfr line 175.
) = 57
exit_group(0) = ?
=========================
In the last poll, the time is lower than 6000.
My big question is:
Why does that happen?
I'm waiting for a 'read'-poll on my listening socket, and Event decides
to unloop all of a sudden...
Is it expected to do so?
cya,
Thanks,
Robin
--
Robin Redeker [EMAIL PROTECTED] http://www.x-paste.de/