Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Blocking on QNX IPC and FD: (2 Items)
   
Blocking on QNX IPC and FD  
Hello all,

Is their a mechanism to have a thread block on PPS file descriptors and QNX IPC ( Message/Pulses )? My thread is not a 
resource manager.

I tried using dispatch library mechanism.

dispatch_create
select_attach
pulse_attach
dipatch_context_alloc
message_connect
dispatch_block
dispatch_handler

dispatch_block does not unblock with pulses. I am sending pulses to coid returned by message_connect using MsgSendPulse.


Regards,
Sesh
Re: Blocking on QNX IPC and FD  
Below issue has been resolved. Root cause was related to timing issue. Overall the library works great to receive pulses
, fd data, ipc messages through one single blocking API.

---------------------------------------------------------------------
> Hello all,
> 
> Is their a mechanism to have a thread block on PPS file descriptors and QNX 
> IPC ( Message/Pulses )? My thread is not a resource manager.
> 
> I tried using dispatch library mechanism.
> 
> dispatch_create
> select_attach
> pulse_attach
> dipatch_context_alloc
> message_connect
> dispatch_block
> dispatch_handler
> 
> dispatch_block does not unblock with pulses. I am sending pulses to coid 
> returned by message_connect using MsgSendPulse.
> 
> Regards,
> Sesh