summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/cpuuse/cpuusagetop.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-10-02 10:22:15 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-10-02 10:22:15 +0200
commitf004b2b8dc1fb78eb18b21ba6b50f6c712fd94f8 (patch)
tree19c85986b72c5a3b867e811975d7439ebb1d18d1 /cpukit/libmisc/cpuuse/cpuusagetop.c
parentrtems: Add rtems_task_exit() (diff)
downloadrtems-f004b2b8dc1fb78eb18b21ba6b50f6c712fd94f8.tar.bz2
Use rtems_task_exit()
Update #3530. Update #3533.
Diffstat (limited to 'cpukit/libmisc/cpuuse/cpuusagetop.c')
-rw-r--r--cpukit/libmisc/cpuuse/cpuusagetop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libmisc/cpuuse/cpuusagetop.c b/cpukit/libmisc/cpuuse/cpuusagetop.c
index c37fae0c56..ee5d79051f 100644
--- a/cpukit/libmisc/cpuuse/cpuusagetop.c
+++ b/cpukit/libmisc/cpuuse/cpuusagetop.c
@@ -495,7 +495,7 @@ rtems_cpuusage_top_thread (rtems_task_argument arg)
data->thread_active = false;
- rtems_task_delete (RTEMS_SELF);
+ rtems_task_exit();
}
void rtems_cpu_usage_top_with_plugin(