Lightweight semaphores support low-overhead synchronization of task accesses and shared resources. Lightweight semaphores require a minimal amount of memory and run quickly. They are used to:
There is no difference between lightweight semaphores in the standard MQX and the MQX Lite. The list of lightweight semaphore component API functions (_lwsem_ prefix) is provided together with detailed description of each function in the Freescale MQX™ Lite RTOS Reference Manual (MQXLITERM).
See the LWSEM or LWDEMO MQX Lite example code for the demonstration of the correct Lightweight Semaphore usage. See MQX Lite Demo Applications for information about location of MQX Lite examples.