Add pthread_equal()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@78 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
2f0bfec538
commit
223a7dcd51
@ -244,6 +244,12 @@ EXTERN void pthread_yield(void);
|
|||||||
|
|
||||||
#define pthread_self() ((pthread_t)getpid())
|
#define pthread_self() ((pthread_t)getpid())
|
||||||
|
|
||||||
|
/*----------------------------------------------------------*
|
||||||
|
* Compare to thread IDs.
|
||||||
|
*----------------------------------------------------------*/
|
||||||
|
|
||||||
|
#define pthread_equal(t1,t2) (t1 == t2)
|
||||||
|
|
||||||
/*----------------------------------------------------------*
|
/*----------------------------------------------------------*
|
||||||
* Thread scheduling parameters
|
* Thread scheduling parameters
|
||||||
*----------------------------------------------------------*/
|
*----------------------------------------------------------*/
|
||||||
|
Loading…
Reference in New Issue
Block a user