Angus Ainslie <angusa@deltatee.com> wrote:
I’m not sure whether it’s the way I was trying to use it or whether
pulse_attach doesn’t work with resmgr_context_alloc and
resmgr_block.
pulse_attach() does require the dispatch_*() functions, rather than
the resmgr() ones.
I got it working with the dispatch_* functions. If it
doesn’t work with the resmgr_* functions that should be in the docs and
possibly the example too.
Yes, it probably should be more clear. There are hints there, at least
in the most current, but they are not as clear as they could be. Probably
each function could use a note saying it requires the dispatch* stuff.
(e.g. The current docs, at least, for dispatch_handler() talk about
handling several different types of attaches, while the resmgr_handler()
just talks about handling I/O messages.)
-David
QNX Training Services
dagibbs@qnx.com