summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/pthreadexit.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/posix/src/pthreadexit.c')
-rw-r--r--cpukit/posix/src/pthreadexit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/posix/src/pthreadexit.c b/cpukit/posix/src/pthreadexit.c
index c5eda2e02c..9efe9d9a47 100644
--- a/cpukit/posix/src/pthreadexit.c
+++ b/cpukit/posix/src/pthreadexit.c
@@ -35,17 +35,17 @@ void _POSIX_Thread_Exit(
the_information = _Objects_Get_information_id( the_thread->Object.id );
/*
- * The_information has to be non-NULL. Otherwise, we couldn't be
+ * The_information has to be non-NULL. Otherwise, we couldn't be
* running in a thread of this API and class.
*
* NOTE: Lock and unlock in different order so we do not throw a
* fatal error when locking the allocator mutex. And after
* we unlock, we want to defer the context switch until we
* are ready to be switched out. Otherwise, an ISR could
- * occur and preempt us out while we still hold the
+ * occur and preempt us out while we still hold the
* allocator mutex.
*/
-
+
_RTEMS_Lock_allocator();
_Thread_Disable_dispatch();