How to use mutex, semaphore or cond_var in PhAB

Hi all!
I’m a new member of this forum. I’ve been studying RTOS. I don’t know how to use mutex, semaphore and cond_var in PhAB. Please help me, thanks!

mutex, semaphore, and cond vars work the same in PhAB as in other programs.

Thanks. Can you give me an example using mutex together condvar?

Mutex / convar are POSIX concept not specific to QNX. There are a huge numbers of example on internet. Google is you friend.