wait queues


does anybody know the alternative in QNX for the wait queues in linux?
I’ve a driver to be ported from linux to QNX, which uses the wait queues.

Also, any idea on APIs related to guarding the critical section in threads not involving the interrupt handler??

Not that I know of. I don’t know much about wait queues in linux but it seems to be they aren’t needed. They seems useful in the context of a kernel module, but under QNX there isn’t such thing.