diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-11-29 06:23:27 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-12-04 10:53:39 +0100 |
commit | 6c2b8a4b35536a5f99ba1ef91139485b011dafc1 (patch) | |
tree | b1ab330104094ec83051c932c4d5cb9e653a4568 /cpukit/score/src/objectactivecount.c | |
parent | 3d7d2a37e6f9da4b75a86ce5336a6e23990b075b (diff) |
score: Use self-contained API mutex
Use a self-contained recursive mutex for API_Mutex_Control. The API
mutexes are protected against asynchronous thread cancellation.
Add dedicated mutexes for libatomic and TOD.
Close #2629.
Close #2630.
Diffstat (limited to 'cpukit/score/src/objectactivecount.c')
-rw-r--r-- | cpukit/score/src/objectactivecount.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/src/objectactivecount.c b/cpukit/score/src/objectactivecount.c index de3243afcb..376820158a 100644 --- a/cpukit/score/src/objectactivecount.c +++ b/cpukit/score/src/objectactivecount.c @@ -27,7 +27,7 @@ Objects_Maximum _Objects_Active_count( size_t inactive; size_t maximum; - _Assert( _Debug_Is_owner_of_allocator() ); + _Assert( _Objects_Allocator_is_owner() ); inactive = _Chain_Node_count_unprotected( &information->Inactive ); maximum = information->maximum; |