Skip to content
Snippets Groups Projects
Commit 223a7dcd authored by patacongo's avatar patacongo
Browse files

Add pthread_equal()

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@78 42af7a65-404d-4744-a932-0658087f49c3
parent 2f0bfec5
No related branches found
No related tags found
No related merge requests found
......@@ -244,6 +244,12 @@ EXTERN void pthread_yield(void);
#define pthread_self() ((pthread_t)getpid())
/*----------------------------------------------------------*
* Compare to thread IDs.
*----------------------------------------------------------*/
#define pthread_equal(t1,t2) (t1 == t2)
/*----------------------------------------------------------*
* Thread scheduling parameters
*----------------------------------------------------------*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment