Mercurial > flash_v2
comparison packages/kernel/current/include/kapi.h @ 84:489eb5632bc3 ecos-sw-2000-04-28
Merge from eCos master repository on 2000-04-28-18:44:39-BST
| author | jlarmour |
|---|---|
| date | Fri, 28 Apr 2000 18:18:36 +0000 |
| parents | bf00f99aec69 |
| children | 5a0cc6c243a9 |
comparison
equal
deleted
inserted
replaced
| 83:1094d5fdd3e0 | 84:489eb5632bc3 |
|---|---|
| 125 /* Lock and unlock the scheduler. When the scheduler is */ | 125 /* Lock and unlock the scheduler. When the scheduler is */ |
| 126 /* locked thread preemption is disabled. */ | 126 /* locked thread preemption is disabled. */ |
| 127 void cyg_scheduler_lock(void); | 127 void cyg_scheduler_lock(void); |
| 128 | 128 |
| 129 void cyg_scheduler_unlock(void); | 129 void cyg_scheduler_unlock(void); |
| 130 | |
| 131 /* Just like 'cyg_scheduler_lock()', but never take the lock higher than 1 */ | |
| 132 /* Thus this call is safe even if the scheduler is already locked and a */ | |
| 133 /* subsequent call to 'cyg_scheduler_unlock()' will completely unlock. */ | |
| 134 void cyg_scheduler_safe_lock(void); | |
| 130 | 135 |
| 131 /*---------------------------------------------------------------------------*/ | 136 /*---------------------------------------------------------------------------*/ |
| 132 /* Thread operations */ | 137 /* Thread operations */ |
| 133 | 138 |
| 134 typedef void cyg_thread_entry_t(cyg_addrword_t); | 139 typedef void cyg_thread_entry_t(cyg_addrword_t); |
