Steve Reid
01/13/2009 1:50 PM
post19979
|
In the docs, we tell people to use a manager ID greater than or equal to _IOMGR_PRIVATE_BASE for _IO_MSG messages. David
Gibbs told me that the idea is that you should handle these messages only if they're intended for your resource manager
.
In Getting Started with QNX Neutrino, Rob Krten wrote:
-------------------------------------------------------
QSS reserves a range of values for this field, with a special range reserved for “unregistered” or “prototype”
drivers. These are values in the range _IOMGR_PRIVATE_BASE through to _IOMGR_PRIVATE_MAX , respectively. If you're
building a deeply embedded system where you know that no inappropriate messages will be sent to your resource manager,
then you can go ahead and use the special range. On the other hand, if you are building more of a “desktop” or “
generic” system, you may not have enough control over the final configuration of the system to determine whether
inappropriate messages will be sent to your resource manager. In that case, you should contact QSS to obtain a mgrid
value that will be reserved for you — no one else should use that number. Consult the file <sys/iomgr.h> for the ranges
currently in use.
-------------------------------------------------------
Is this still correct? Do we ever hand out IDs?
Thanks for any information.
Steve Reid (stever@qnx.com)
Technical Editor
QNX Software Systems
|
|
|