Introduction - If you have any usage issues, please Google them yourself
In order to generate a lightweight signal, you can initialization function statement LWSEM_STRUCT struct type variables, and call _lwsem_create create (), the function is a pointer point to variables and set up an initial semaphore count. The number of requests for a concurrent access to the amount of resources is indicated by the amount of the signal, and is set to the initial value.