mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 17:33:08 +08:00
Rename CONFIG_MUTEX_TYPES to CONFIG_PTHREAD_MUTEX_TYPES
This commit is contained in:
@@ -7037,7 +7037,7 @@ interface of the same name.
|
||||
<p>
|
||||
<pre>
|
||||
#include <pthread.h>
|
||||
#ifdef CONFIG_MUTEX_TYPES
|
||||
#ifdef CONFIG_PTHREAD_MUTEX_TYPES
|
||||
int pthread_mutexattr_gettype(const pthread_mutexattr_t *attr, int *type);
|
||||
#endif
|
||||
</pre>
|
||||
@@ -7072,7 +7072,7 @@ returned to indicate the error:
|
||||
<p>
|
||||
<pre>
|
||||
#include <pthread.h>
|
||||
#ifdef CONFIG_MUTEX_TYPES
|
||||
#ifdef CONFIG_PTHREAD_MUTEX_TYPES
|
||||
int pthread_mutexattr_settype(pthread_mutexattr_t *attr, int type);
|
||||
#endif
|
||||
</pre>
|
||||
|
||||
Reference in New Issue
Block a user