Forum Discussion
Altera_Forum
Honored Contributor
15 years agoMicroC-OSII mutexs
does anyone know if you can define multiple mutexs in microC OS 2? I have more than one shared resource that I would like to have different semaphores for. But I would like to use mutex sema...
Altera_Forum
Honored Contributor
15 years agomaybe he has a mistake in his example in chapter 8.1 of his book?
He has a line of code that says OSMutexCreate(9,&err); I think maybe this should read ResourceMutex = OSMutexCreate(9,&err); ??? I guess the question is do you need to create an OS_EVENT* type and set it eqaual to OSMutexCreate() ? It must just be a mistake in the documentation. Can someone confirm?