forked from Imagelibrary/rtems
posix: Delete POSIX_Mutex_Protocol::process_shared
This commit is contained in:
@@ -20,7 +20,6 @@
|
||||
#define _RTEMS_POSIX_MUTEX_H
|
||||
|
||||
#include <rtems/score/coremutex.h>
|
||||
#include <pthread.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
@@ -43,7 +42,6 @@ extern "C" {
|
||||
typedef struct {
|
||||
Objects_Control Object;
|
||||
CORE_mutex_Control Mutex;
|
||||
int process_shared;
|
||||
} POSIX_Mutex_Control;
|
||||
|
||||
/** @} */
|
||||
|
||||
@@ -117,8 +117,6 @@ int pthread_mutex_init(
|
||||
return EAGAIN;
|
||||
}
|
||||
|
||||
the_mutex->process_shared = the_attr->process_shared;
|
||||
|
||||
the_mutex_attr = &the_mutex->Mutex.Attributes;
|
||||
|
||||
if ( the_attr->type == PTHREAD_MUTEX_RECURSIVE )
|
||||
|
||||
Reference in New Issue
Block a user