标签:struct 获取 semaphore sem rup ble int interrupt nbsp
1、semaphore
struct semaphore g_logic_func_sem;
down_interruptible(&g_logic_func_sem)
up(&g_logic_func_sem);
sema_init(&g_logic_func_sem, 1);
1)是否支持嵌套获取?
2)各种down的接口
标签:struct 获取 semaphore sem rup ble int interrupt nbsp
原文地址:http://www.cnblogs.com/soul-stone/p/7417055.html