From 071e9457b0645f07a90485bd7a7c68fa5e34801b Mon Sep 17 00:00:00 2001 From: gdisirio Date: Wed, 3 Sep 2008 12:18:39 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@421 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- src/chthreads.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/chthreads.c') 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. -- cgit v1.2.3