some data types and macros

Hello,

i’m trying to understand resource managers, but i can’t find informattion on
dispatch_context_t structure and IO* macros in the online documentation.
How do I know what to use if I cant find any info on that. or maybe i’m
searching in the wrong place? maybe there is some better help on this
library?

Darius

Robert Kriten’s book is very helpful on resource managers.
Most of his “QNX Neutrino” book is about just that.

John Nagle

Darius wrote:

Hello,

i’m trying to understand resource managers, but i can’t find informattion on
dispatch_context_t structure and IO* macros in the online documentation.
How do I know what to use if I cant find any info on that. or maybe i’m
searching in the wrong place? maybe there is some better help on this
library?

Darius

John Nagle wrote:

Robert Kriten’s book is very helpful on resource managers.
Most of his “QNX Neutrino” book is about just that.

+5 Informative

Darius <alpha_byte@safe-mail.net> wrote:

Hello,

i’m trying to understand resource managers, but i can’t find informattion on
dispatch_context_t structure and IO* macros in the online documentation.
How do I know what to use if I cant find any info on that. or maybe i’m
searching in the wrong place? maybe there is some better help on this
library?

Have you looked in the Programmer’s Guide – the section on writing
resource managers?

Also, as mentioned Rob Krten’s book is good, and very helpful on
this subject.

A dispatch_context_t is mostly a resmgr_context_t, but with some extra
stuff added. So, anything that talks resmgr_context_t can be assumed
to also be talking about dispatch_context_ts. (Well, except for
the allocate/free functions.)

But, basically a dispatch_context_t is a resmgr_context_t with extra
information to support message_attach(), select_attach(), and
pulse_attach().

-David

Please follow-up to newsgroup, rather than personal email.
David Gibbs
QNX Training Services
dagibbs@qnx.com