diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-06-14 11:45:22 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-06-22 14:00:27 +0200 |
commit | 2df7fcff883856cd2fa8a56e9c509a0674bfb01a (patch) | |
tree | c277f34f4cac80f4a629c4438f51b6dd66102625 /cpukit/posix/include/rtems/posix/muteximpl.h | |
parent | posix: pthread_mutexattr_setprioceiling() (diff) | |
download | rtems-2df7fcff883856cd2fa8a56e9c509a0674bfb01a.tar.bz2 |
posix: _POSIX_Mutex_Default_attributes
Make _POSIX_Mutex_Default_attributes constant and independent of the
scheduler instance. Use INT_MAX to indicate the default ceiling
priority.
Diffstat (limited to 'cpukit/posix/include/rtems/posix/muteximpl.h')
-rw-r--r-- | cpukit/posix/include/rtems/posix/muteximpl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/posix/include/rtems/posix/muteximpl.h b/cpukit/posix/include/rtems/posix/muteximpl.h index 4957e207fb..7d19d8c40b 100644 --- a/cpukit/posix/include/rtems/posix/muteximpl.h +++ b/cpukit/posix/include/rtems/posix/muteximpl.h @@ -50,7 +50,7 @@ extern Objects_Information _POSIX_Mutex_Information; /** * The default mutex attributes structure. */ -extern pthread_mutexattr_t _POSIX_Mutex_Default_attributes; +extern const pthread_mutexattr_t _POSIX_Mutex_Default_attributes; RTEMS_INLINE_ROUTINE void _POSIX_Mutex_Acquire_critical( POSIX_Mutex_Control *the_mutex, |