Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RT-Thread/rt-thread
/ rt_sem_take
Function
rt_sem_take
src/ipc.c:645–648 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
643
}
644
645
rt_err_t rt_sem_take(rt_sem_t sem, rt_int32_t time)
646
{
647
return _rt_sem_take(sem, time, RT_UNINTERRUPTIBLE);
648
}
649
RTM_EXPORT(rt_sem_take);
650
651
rt_err_t rt_sem_take_interruptible(rt_sem_t sem, rt_int32_t time)
Callers
15
finsh_getchar
Function · 0.85
rt_ecm_eth_tx
Function · 0.85
rt_rndis_eth_tx
Function · 0.85
sys_enter_critical
Function · 0.85
uart_send_entry
Function · 0.85
uart_rec_entry
Function · 0.85
uart_send_entry
Function · 0.85
uart_rec_entry
Function · 0.85
_can_int_tx
Function · 0.85
sdio_irq_thread
Function · 0.85
mmcsd_send_request
Function · 0.85
rt_plat_request
Function · 0.85
Calls
1
_rt_sem_take
Function · 0.85
Tested by
15
uart_thread
Function · 0.68
uart_thread
Function · 0.68
uart_thread
Function · 0.68
can_rx_thread
Function · 0.68
ic_rx_thread
Function · 0.68
serial_thread_entry_int
Function · 0.68
can_rx_thread
Function · 0.68
serial_thread_entry_int
Function · 0.68
test_context
Function · 0.68
can_rx_thread
Function · 0.68
test_suspend_force_normal_usage
Function · 0.68
test_atomic_add
Function · 0.68