pankaj_mistry
Newbie level 1
posix queue tasks
I need a sample source code where posix message queue are used in vxWorks using mq_notify to install signal handler
The sample code in manuals reads and writes from the same task.When I called mq_notify() in one task and independntly wrote in to the posix message queue the reading task is getting suspended and exception error was coming
Can some one help me out why this is happening as i followed the same procedure as in manulas but instead of task itself writing to generate a signal i tried with 1) pause() 2)sigpending() in that task
and wrote from separate task to the message queue
I need a sample source code where posix message queue are used in vxWorks using mq_notify to install signal handler
The sample code in manuals reads and writes from the same task.When I called mq_notify() in one task and independntly wrote in to the posix message queue the reading task is getting suspended and exception error was coming
Can some one help me out why this is happening as i followed the same procedure as in manulas but instead of task itself writing to generate a signal i tried with 1) pause() 2)sigpending() in that task
and wrote from separate task to the message queue