Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/trafficserver
/ ink_sem_wait
Function
ink_sem_wait
src/tscore/ink_thread.cc:72–80 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
70
}
71
72
void
73
ink_sem_wait(ink_semaphore *sp)
74
{
75
int r;
76
while (EINTR == (r = sem_wait(sp->get()))) {
77
;
78
}
79
ink_assert(!r);
80
}
81
82
bool
83
ink_sem_trywait(ink_semaphore *sp)
Callers
1
dequeue
Function · 0.85
Calls
1
get
Method · 0.45
Tested by
no test coverage detected