12.07.2015 Views

CooCox CoOS 用户手册

CooCox CoOS 用户手册

CooCox CoOS 用户手册

SHOW MORE
SHOW LESS

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

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!