mirror of
https://github.com/apache/nuttx.git
synced 2026-06-09 10:54:43 +08:00
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:
@@ -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
|
||||
*----------------------------------------------------------*/
|
||||
|
||||
Reference in New Issue
Block a user