… | |
… | |
1535 | |
1535 | |
1536 | Many event loops support I<watcher priorities>, which are usually small |
1536 | Many event loops support I<watcher priorities>, which are usually small |
1537 | integers that influence the ordering of event callback invocation |
1537 | integers that influence the ordering of event callback invocation |
1538 | between watchers in some way, all else being equal. |
1538 | between watchers in some way, all else being equal. |
1539 | |
1539 | |
1540 | In libev, Watcher priorities can be set using C<ev_set_priority>. See its |
1540 | In libev, watcher priorities can be set using C<ev_set_priority>. See its |
1541 | description for the more technical details such as the actual priority |
1541 | description for the more technical details such as the actual priority |
1542 | range. |
1542 | range. |
1543 | |
1543 | |
1544 | There are two common ways how these these priorities are being interpreted |
1544 | There are two common ways how these these priorities are being interpreted |
1545 | by event loops: |
1545 | by event loops: |