diff options
Diffstat (limited to '')
-rw-r--r-- | cpukit/posix/include/rtems/posix/threadsup.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/cpukit/posix/include/rtems/posix/threadsup.h b/cpukit/posix/include/rtems/posix/threadsup.h index 414b46fd83..7bd1f934ad 100644 --- a/cpukit/posix/include/rtems/posix/threadsup.h +++ b/cpukit/posix/include/rtems/posix/threadsup.h @@ -83,6 +83,15 @@ typedef struct { /** This is the set of cancelation handlers. */ Chain_Control Cancellation_Handlers; + /** + * This is the thread key value chain's control, which is used + * to track all key value for specific thread, and when thread + * exits, we can remove all key value for specific thread by + * iterating this chain, or we have to search a whole rbtree, + * which is inefficient. + */ + Chain_Control Key_Chain; + } POSIX_API_Control; /** |