diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-06-29 14:23:42 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-07-30 08:06:01 +0200 |
commit | 10e32a26342573566b83d5bee64970077d679ed5 (patch) | |
tree | 37b4520d1ee9c09bc3b682130ed0d0c316caeb4a /cpukit/score/src/threadrestart.c | |
parent | score: Provide struct _Thread_queue_Heads (diff) | |
download | rtems-10e32a26342573566b83d5bee64970077d679ed5.tar.bz2 |
score: Add potpourri lock statistics
These SMP lock statistics are used for all lock objects that lack a
storage space for the statistics. Examples are lock objects used in
external libraries which are independent of the actual RTEMS build
configuration.
Diffstat (limited to 'cpukit/score/src/threadrestart.c')
-rw-r--r-- | cpukit/score/src/threadrestart.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cpukit/score/src/threadrestart.c b/cpukit/score/src/threadrestart.c index abd809de70..5d80beb78c 100644 --- a/cpukit/score/src/threadrestart.c +++ b/cpukit/score/src/threadrestart.c @@ -130,6 +130,7 @@ static void _Thread_Free( Thread_Control *the_thread ) #if defined(RTEMS_SMP) _ISR_lock_Destroy( &the_thread->Lock.Default ); + _SMP_lock_Stats_destroy( &the_thread->Potpourri_stats ); #endif _Objects_Free( &information->Objects, &the_thread->Object ); |