macro for pthread_equal
no sense bloating apps with a function call for an equality comparison...
This commit is contained in:
parent
ef9dd03534
commit
9205e48609
2 changed files with 3 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
|||
#include <pthread.h>
|
||||
|
||||
int pthread_equal(pthread_t a, pthread_t b)
|
||||
int (pthread_equal)(pthread_t a, pthread_t b)
|
||||
{
|
||||
return a==b;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue