mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-12 14:20:13 +00:00
(queue_is_empty): New function.
This commit is contained in:
parent
0f226bf382
commit
68606f4ed5
@ -54,3 +54,8 @@ static inline int remove_from_queue(pthread_descr * q, pthread_descr th)
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
static inline int queue_is_empty(pthread_descr * q)
|
||||
{
|
||||
return *q == NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user