Mercurial > ecos
comparison packages/kernel/current/include/thread.inl @ 115:6ed91473a1cd ecos-sw-2000-08-21
Merge from eCos master repository on 2000-08-21-22:40:54-BST
| author | jlarmour |
|---|---|
| date | Fri, 25 Aug 2000 17:32:38 +0000 |
| parents | bf00f99aec69 |
| children | 6b5f480c6929 |
comparison
equal
deleted
inserted
replaced
| 114:5ad2b71d525e | 115:6ed91473a1cd |
|---|---|
| 252 | 252 |
| 253 #ifdef CYGIMP_THREAD_PRIORITY | 253 #ifdef CYGIMP_THREAD_PRIORITY |
| 254 | 254 |
| 255 inline cyg_priority Cyg_Thread::get_priority() | 255 inline cyg_priority Cyg_Thread::get_priority() |
| 256 { | 256 { |
| 257 #ifdef CYGSEM_KERNEL_SYNCH_MUTEX_PRIORITY_INHERITANCE_SIMPLE | 257 #ifdef CYGSEM_KERNEL_SYNCH_MUTEX_PRIORITY_INVERSION_PROTOCOL_SIMPLE |
| 258 | 258 |
| 259 // If we have an inherited priority, return our original | 259 // If we have an inherited priority, return our original |
| 260 // priority rather than the current one. | 260 // priority rather than the current one. |
| 261 | 261 |
| 262 if( priority_inherited ) return original_priority; | 262 if( priority_inherited ) return original_priority; |
