Lines 325-336
Link Here
|
325 |
thread ID while the clone is running and is reset to zero |
325 |
thread ID while the clone is running and is reset to zero |
326 |
afterwards. */ |
326 |
afterwards. */ |
327 |
#define lll_wait_tid(tid) \ |
327 |
#define lll_wait_tid(tid) \ |
328 |
do \ |
328 |
do \ |
329 |
{ \ |
329 |
{ \ |
330 |
__typeof (tid) __tid; \ |
330 |
__typeof (tid) __tid; \ |
331 |
while ((__tid = (tid)) != 0) \ |
331 |
while ((__tid = (tid)) != 0) \ |
332 |
lll_futex_wait (&(tid), __tid, 0); \ |
332 |
lll_futex_wait (&(tid), __tid, LLL_SHARED); \ |
333 |
} \ |
333 |
} \ |
334 |
while (0) |
334 |
while (0) |
335 |
|
335 |
|
336 |
extern int __lll_timedwait_tid (int *, const struct timespec *) |
336 |
extern int __lll_timedwait_tid (int *, const struct timespec *) |