diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-12-16 14:50:59 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-02-12 09:08:37 +0100 |
commit | 61357479894b08c9017ba39f90572c57dc307869 (patch) | |
tree | 3be2b2696a480dd5ffef351663a0ca944e26bbfd /cpukit/include/rtems/score/thread.h | |
parent | score: Split up objects allocation (diff) | |
download | rtems-61357479894b08c9017ba39f90572c57dc307869.tar.bz2 |
score: Split up objects free
Split up the different objects free methods into separate functions.
This helps to avoid a dependency on the workspace in case no objects or
a static set of objects is configured.
Update #3835.
Diffstat (limited to 'cpukit/include/rtems/score/thread.h')
-rw-r--r-- | cpukit/include/rtems/score/thread.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cpukit/include/rtems/score/thread.h b/cpukit/include/rtems/score/thread.h index 3d977749ff..d666944dcf 100644 --- a/cpukit/include/rtems/score/thread.h +++ b/cpukit/include/rtems/score/thread.h @@ -1024,6 +1024,7 @@ Thread_Information name##_Information = { \ _Objects_Build_id( api, cls, 1, 0 ), \ NULL, \ _Objects_Allocate_none, \ + NULL, \ 0, \ 0, \ 0, \ @@ -1051,6 +1052,8 @@ Thread_Information name##_Information = { \ name##_Local_table, \ _Objects_Is_unlimited( max ) ? \ _Objects_Allocate_unlimited : _Objects_Allocate_static, \ + _Objects_Is_unlimited( max ) ? \ + _Objects_Free_unlimited : _Objects_Free_static, \ 0, \ _Objects_Is_unlimited( max ) ? _Objects_Maximum_per_allocation( max ) : 0, \ sizeof( Thread_Configured_control ), \ |