comparison packages/kernel/current/src/sched/bitmap.cxx @ 46:797268ecc331 ecos-sw-1999-10-19

Merge from eCos master repository on 1999-10-19-18:55:31-BST
author jlarmour
date Tue, 19 Oct 1999 19:19:52 +0000
parents 443894e2e912
children 755351606154
comparison
equal deleted inserted replaced
45:91d213c0da48 46:797268ecc331
101 101
102 CYG_ASSERT( thread_table[thread->priority] == NULL || 102 CYG_ASSERT( thread_table[thread->priority] == NULL ||
103 thread_table[thread->priority] == thread, 103 thread_table[thread->priority] == thread,
104 "Duplicate thread priorities" ); 104 "Duplicate thread priorities" );
105 105
106 CYG_ASSERT((CYG_THREAD_MIN_PRIORITY >= pri)
107 && (CYG_THREAD_MAX_PRIORITY <= pri),
108 "Priority out of range!");
109
106 CYG_ASSERT( (run_queue & (1<<thread->priority)) == 0, 110 CYG_ASSERT( (run_queue & (1<<thread->priority)) == 0,
107 "Run queue bit already set" ); 111 "Run queue bit already set" );
108 112
109 // If the thread is on some other queue, remove it 113 // If the thread is on some other queue, remove it
110 // here. 114 // here.