Mercurial > ecos-v3_0-branch
diff packages/kernel/current/src/sync/cnt_sem2.cxx @ 124:0ec04793409a ecos-sw-2000-09-11
Merge from eCos master repository on 2000-09-11-03:00:13-BST
| author | jlarmour |
|---|---|
| date | Mon, 11 Sep 2000 02:42:46 +0000 |
| parents | 6ed91473a1cd |
| children | e0c0827131d1 |
line wrap: on
line diff
--- a/packages/kernel/current/src/sync/cnt_sem2.cxx +++ b/packages/kernel/current/src/sync/cnt_sem2.cxx @@ -114,9 +114,6 @@ cyg_bool Cyg_Counting_Semaphore2::wait() CYG_INSTRUMENT_CNTSEM( WAIT, this, 0 ); - CYG_ASSERT( Cyg_Scheduler::get_sched_lock() == 1, - "Called with non-zero scheduler lock"); - Cyg_Scheduler::unlock(); CYG_INSTRUMENT_CNTSEM( WOKE, this, count ); @@ -180,8 +177,6 @@ Cyg_Counting_Semaphore2::wait( cyg_tick_ CYG_INSTRUMENT_CNTSEM( WAIT, this, 0 ); - CYG_ASSERT( Cyg_Scheduler::get_sched_lock() == 1, - "Called with non-zero scheduler lock"); Cyg_Scheduler::unlock();
