(queue_is_empty): New function.

This commit is contained in:
Ulrich Drepper 2000-01-12 11:57:59 +00:00
parent 0f226bf382
commit 68606f4ed5

View File

@ -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;
}