Updated: October 28, 2024 |
QNX SDP 7.1 includes the Screen Graphics Subsystem.
If you're migrating your Screen applications from QNX SDP 7.0:
In QNX SDP 7.1, you must now call the screen_register_event() function before you call screen_notify() to register the event for asynchronous notification. Otherwise, you won't receive any asynchronous notifications.
The screen_register_event() function registers a sigevent that screen_notify() uses.
When you are no longer using asynchronous notifications, you need to disable the notifications and then remove the event registration. Ensure that the registered event is no longer in use by any Screen object before removing the event registration by calling screen_unregister_event(). We recommend that you call screen_unregister_event() only after you've disabled asynchronous notifications that are using the event you're unregistering. If you remove the event registration while you still have asynchronous notifications using that event enabled, you may not receive any notifications. To disable asynchronous notifications, call screen_notify() with the event argument set to NULL, or its type set to SIGEV_NONE for those notifications that were enabled.
In QNX SDP 7.1, when you're using external buffers and the SCREEN_PROPERTY_FD property to assign the file descriptor to this externally allocated memory, you must now:
In QNX SDP 7.1, the following Screen utilities are now in the addon package, SDP 7.1 Screen Utilities: