Mercurial > ecos
comparison packages/kernel/current/src/common/thread.cxx @ 6:d376b777e2ce ecos-sw-1999-05-14
Merge from eCos master repository on 1999-05-14-19:27:43-BST
| author | jlarmour |
|---|---|
| date | Fri, 14 May 1999 12:20:00 +0000 |
| parents | 443894e2e912 |
| children | ece80412419a |
comparison
equal
deleted
inserted
replaced
| 5:4e8259f41183 | 6:d376b777e2ce |
|---|---|
| 72 CYG_REPORT_FUNCTION(); | 72 CYG_REPORT_FUNCTION(); |
| 73 | 73 |
| 74 Cyg_Scheduler::scheduler.need_reschedule = false; // finished rescheduling | 74 Cyg_Scheduler::scheduler.need_reschedule = false; // finished rescheduling |
| 75 Cyg_Scheduler::scheduler.current_thread = thread; // restore current thread pointer | 75 Cyg_Scheduler::scheduler.current_thread = thread; // restore current thread pointer |
| 76 | 76 |
| 77 CYG_INSTRUMENT_THREAD(ENTER,thread,0); | |
| 78 | |
| 77 #ifdef CYGSEM_KERNEL_SCHED_TIMESLICE | 79 #ifdef CYGSEM_KERNEL_SCHED_TIMESLICE |
| 78 // Reset the timeslice counter so that this thread gets a full | 80 // Reset the timeslice counter so that this thread gets a full |
| 79 // quantum. | 81 // quantum. |
| 80 Cyg_Scheduler::reset_timeslice_count(); | 82 Cyg_Scheduler::reset_timeslice_count(); |
| 81 #endif | 83 #endif |
