Problem with session leader and unblock ready mode

Hi…

1 I need to know why every time a process become a session leader then send msg to another process, the receiving process receive corrupted buffer. Ironicly, it will not happen when the sending process not in sesion leader.?

  1. How to create timer unblock a process when they in ready mode such as waiting keybord hit?

Hope you all can solve this…

Regards
arms

Update…
All question related to QNX6.3…

thanks
arms

1 - something must be wrong with you code
2 - when a process is in ready mode it’s not “waiting” for a keyboard hit. A process is waiting when it’s in receive mode. That being said you can use signals to “unblock” a process (that’s what Ctrl-C) does.