OS_Smsg_Send (smsg, smessage) OS_Smsg_Send_I (smsg, smessage)
Send simple message through smsg. If smsg already exists then wait until it becomes free.
Only in task
smsg
smessage
nothing
OST_SMSG smsg; void Task (void) { for (;;) { /*...*/ OS_Smsg_Send (smsg, 'E'); /*...*/ } }
OS_SendSMsg
For english spoken users http://www.pic24.ru
2008 © Alex B.