NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
ex_Acquire.nxc

This is an example of how to use the Acquire function.

mutex motorMutex;
// ...
Acquire(motorMutex); // make sure we have exclusive access
// use the motors
Release(motorMutex);