ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Coro/EV/EV.pm
(Generate patch)

Comparing Coro/EV/EV.pm (file contents):
Revision 1.53 by root, Mon May 17 16:51:44 2010 UTC vs.
Revision 1.54 by root, Fri May 28 20:02:27 2010 UTC

18Before the process blocks (in EV::loop) to wait for events, this module 18Before the process blocks (in EV::loop) to wait for events, this module
19will schedule and run all ready (= runnable) threads of the same or 19will schedule and run all ready (= runnable) threads of the same or
20higher priority. After that, it will cede once to a threads of lower 20higher priority. After that, it will cede once to a threads of lower
21priority, then continue in the event loop. 21priority, then continue in the event loop.
22 22
23That means that threads with the same or higher pripority as the threads 23That means that threads with the same or higher priority as the threads
24running the main loop will inhibit event processing, while threads of 24running the main loop will inhibit event processing, while threads of
25lower priority will get the CPU, but cannot completeley inhibit event 25lower priority will get the CPU, but cannot completeley inhibit event
26processing. Note that for that to work you actually have to run the EV 26processing. Note that for that to work you actually have to run the EV
27event loop in some thread. 27event loop in some thread.
28 28

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines