Mercurial > nand-ecoscentric
diff packages/kernel/current/src/common/thread.cxx @ 8:ece80412419a ecos-sw-1999-05-21
Merge from eCos master repository on 1999-05-21-22:05:54-BST
| author | jlarmour |
|---|---|
| date | Fri, 21 May 1999 15:09:30 +0000 |
| parents | d376b777e2ce |
| children | c38311975d4f |
line wrap: on
line diff
--- a/packages/kernel/current/src/common/thread.cxx +++ b/packages/kernel/current/src/common/thread.cxx @@ -759,8 +759,8 @@ Cyg_Thread::kill() // does not persist. #endif - switch( sleep_reason ) - { + if ( EXIT != wake_reason ) switch( sleep_reason ) { + // Only do any of this if the thread is not in pending death already: case NONE: // The thread is not sleeping for any reason, it must be
