diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-24 15:57:29 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-24 16:00:26 +0100 |
commit | 2a713e3b944625c45154f0ea7f5703e918de758b (patch) | |
tree | c572bfa9e000f7e1fd815d2ab698ac27abf70e7d /cpukit/score/src/wkspace.c | |
parent | libcsupport: Use POSIX keys for GXX key functions (diff) | |
download | rtems-2a713e3b944625c45154f0ea7f5703e918de758b.tar.bz2 |
score: _Heap_Protection_set_delayed_free_fraction
Add and use _Heap_Protection_set_delayed_free_fraction(). This makes it
possible to avoid a dependency on _Thread_Dispatch_is_enabled().
Diffstat (limited to 'cpukit/score/src/wkspace.c')
-rw-r--r-- | cpukit/score/src/wkspace.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpukit/score/src/wkspace.c b/cpukit/score/src/wkspace.c index a1460ff0fb..071c178758 100644 --- a/cpukit/score/src/wkspace.c +++ b/cpukit/score/src/wkspace.c @@ -123,6 +123,8 @@ void _Workspace_Handler_initialization( INTERNAL_ERROR_TOO_LITTLE_WORKSPACE ); } + + _Heap_Protection_set_delayed_free_fraction( &_Workspace_Area, 1 ); } void *_Workspace_Allocate( |