You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
void myTaskA(void* pdata){mutexID = CoCreateMutex();CoEnterMutexSection(mutexID ); // ........... // CoLeaveMutexSection(mutexID ); // }void myTaskB(void* pdata){CoEnterMutexSection(mutexID ); // ........... // CoLeaveMutexSection(mutexID ); // } ⅠⅠ A/B/C Ⅰ A/B/C Ⅰ A B/CⅠ <strong>CooCox</strong> <strong>CoOS</strong> CoCreateFlag() CoWaitForSingleFlag()CoWaitForMultipleFlags():33