====== OSA : OS_LeaveCriticalSection ====== **OS_LeaveCriticalSection ()**\\ === === {{osa:ref:attr_call_task.png|Allowed only in task}} Leave the critical section. === Call allowed: === Only in task === Parameters: === None === Returns: === nothing === Example: === void Task (void) { for (;;) { /*...*/ OS_EnterCriticalSection(); /* make critical operations */ /*...*/ OS_LeaveCriticalSection(); /*...*/ } } === See also === ---- * [[en:osa:ref:services:alphabetical|Alphabetical]] * [[en:osa:ref:services:brieflist|All services]] ~~UP~~