OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:wakeup_ticket
(Results
1 - 1
of
1
) sorted by null
/external/valgrind/main/coregrind/m_scheduler/
ticket-lock-linux.c
155
* matches the
wakeup_ticket
value, no threads have to be woken up.
163
unsigned
wakeup_ticket
, futex_value;
local
170
wakeup_ticket
= __sync_fetch_and_add(&p->head, 1) + 1;
171
if (p->tail !=
wakeup_ticket
) {
172
futex = &p->futex[
wakeup_ticket
& TL_FUTEX_MASK];
176
"\n", VG_(getpid)(), VG_(gettid)(),
wakeup_ticket
,
185
VG_(getpid)(), VG_(gettid)(),
wakeup_ticket
);
Completed in 259 milliseconds