MCPcopy 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
72void
73ink_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
82bool
83ink_sem_trywait(ink_semaphore *sp)

Callers 1

dequeueFunction · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected