aboutsummaryrefslogtreecommitdiffstats
path: root/src/chthreads.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-09-03 12:18:39 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-09-03 12:18:39 +0000
commit071e9457b0645f07a90485bd7a7c68fa5e34801b (patch)
tree913bcd56a5dc926e670581af78ca3e0c9cfce8fc /src/chthreads.c
parentd1ffba4de3c102f20a1985a7c5576a9627bd5287 (diff)
downloadChibiOS-071e9457b0645f07a90485bd7a7c68fa5e34801b.tar.gz
ChibiOS-071e9457b0645f07a90485bd7a7c68fa5e34801b.tar.bz2
ChibiOS-071e9457b0645f07a90485bd7a7c68fa5e34801b.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@421 35acf78f-673a-0410-8e92-d51de3d6d3f4
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.