Skip to Main Content
Volume 7A: XView Programming Manual
book

Volume 7A: XView Programming Manual

by Dan Heller
October 1994
Intermediate to advanced content levelIntermediate to advanced
770 pages
22h 58m
English
O'Reilly Media, Inc.
Content preview from Volume 7A: XView Programming Manual
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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Volume 6A: Motif Programming Manual

Volume 6A: Motif Programming Manual

David Brennan, Dan Heller, Paula Ferguson
Java™ Media APIs: Cross-Platform Imaging, Media, and Visualization

Java™ Media APIs: Cross-Platform Imaging, Media, and Visualization

Alejandro Terrazas, John Ostuni, Michael Barlow

Publisher Resources

ISBN: 9780937175873