diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-03-15 15:42:57 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-03-16 07:16:58 +0100 |
commit | 474b9beeaa5fd6153ffa8ffe10d09acdaa8609da (patch) | |
tree | 6bf8a6b6d45b8b10d954c8a4a5216ad8b9bbc79c /cpukit/score/include/rtems/score/objectimpl.h | |
parent | sapi: Do not disable thread dispatching (diff) | |
download | rtems-474b9beeaa5fd6153ffa8ffe10d09acdaa8609da.tar.bz2 |
score: Use allocator lock in _Objects_Get_next()
Use the object allocator lock in _Objects_Get_next() instead of disabled
thread dispatching since object creation and deletion is covered by this
lock.
Update #2555.
Diffstat (limited to 'cpukit/score/include/rtems/score/objectimpl.h')
-rw-r--r-- | cpukit/score/include/rtems/score/objectimpl.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cpukit/score/include/rtems/score/objectimpl.h b/cpukit/score/include/rtems/score/objectimpl.h index 933e7e93cf..fb2aca8408 100644 --- a/cpukit/score/include/rtems/score/objectimpl.h +++ b/cpukit/score/include/rtems/score/objectimpl.h @@ -614,7 +614,10 @@ Objects_Control *_Objects_Get_no_protection( ); /** - * Like @ref _Objects_Get, but is used to find "next" open object. + * Like @ref _Objects_Get, but is used to find "next" open + * object. + * + * Locks the object allocator mutex in case a next object exists. * * @param[in] information points to an object class information block. * @param[in] id is the Id of the object whose name we are locating. |