aboutsummaryrefslogtreecommitdiffstats
path: root/src/chthreads.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/chthreads.c')
-rw-r--r--src/chthreads.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/chthreads.c b/src/chthreads.c
index e95abbe73..2069fe389 100644
--- a/src/chthreads.c
+++ b/src/chthreads.c
@@ -204,7 +204,6 @@ void chThdResume(Thread *tp) {
chSysUnlock();
}
-#ifdef CH_USE_TERMINATE
/**
* Requests a thread termination.
* @param tp the pointer to the thread
@@ -215,12 +214,9 @@ void chThdResume(Thread *tp) {
void chThdTerminate(Thread *tp) {
chSysLock();
-
tp->p_flags |= P_TERMINATE;
-
chSysUnlock();
}
-#endif
/**
* Terminates the current thread by specifying an exit status code.