
NOTE
These facilities should rarely be used by clients; a client should normally rely on
XView’s default scheduling and prioritizing scheme.
20.12.1 Prioritization
The order in which a particular client’s conditions are notified may be controlled by provid-
ing a prioritizer operation. Assuming asynchronous or immediate notifications have
already been sent, the default prioritizer makes its notifications in the following order:
• Interval timer notifications (ITIMER_REAL and then ITIMER_VIRTUAL).
• Child process control notifications.
• Synchronous signal notifications by ascending signal numbers.
• Exception file descriptor activity notifications by ascending fd numbers.
• Handle client events by order in which received.
• Output file descriptor activity notifications by ascending fd numbers.
• Input file descriptor activity notifications by ascending fd numbers.
20.12.1.1 Providing a prioritizer
This section describes how a client can provide its own prioritizer.
Notify_func
notify_set_prioritizer_func(client, prioritizer_func)
Notify_client client;
Notify_func prioritizer_func;
The function notify_set_prioritizer_func() takes an opaque client handle and
the function to call before any notifications are sent to client. The previous function that
would have been called is returned. If this function was never defined, then the default prior-
itization function is returned. If the prioritizer_func() argument supplied ...