![]() |
![]() |
![]() |
![]() |
![]() |
|||||||||||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
![]() |
osJamMesgSyntax#include <ultra64.h> s32 osJamMesg(OSMesgQueue *mq, OSMesg msg, s32 flag);Explanation The osCreateMesgQueue, osSendMesg, osJamMesg, and osRecvMesg functions are messaging and synchronization facilities. Message queues provide a highly flexible communication and synchronization mechanism. The facilities are useful among threads, as well as between threads and events (primarily interrupts). See osSetEventMesg for a complete list of events. The osJamMesg call works like osSendMesg except that the message (msg) is copied to the front of the given message queue (mq). You can call this function to deliver high priority messages. See Also osCreateMesgQueue osSendMesg osRecvMes osCreateThread osSetEventMesg
|