- File:
-
- 1 edited
-
src/libcfa/concurrency/kernel_private.h (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/concurrency/kernel_private.h
r348006f rdb6f06a 6 6 // file "LICENCE" distributed with Cforall. 7 7 // 8 // kernel_private.h--8 // threads -- 9 9 // 10 10 // Author : Thierry Delisle … … 19 19 20 20 #include "kernel" 21 #include "thread "21 #include "threads" 22 22 23 23 //----------------------------------------------------------------------------- 24 24 // Scheduler 25 void ScheduleThread( thread _desc* );26 thread _desc* nextThread(cluster * this);25 void ScheduleThread( thread * ); 26 thread * nextThread(cluster * this); 27 27 28 28 void ScheduleInternal(); 29 29 void ScheduleInternal(spinlock * lock); 30 void ScheduleInternal(thread _desc* thrd);31 void ScheduleInternal(spinlock * lock, thread _desc* thrd);30 void ScheduleInternal(thread * thrd); 31 void ScheduleInternal(spinlock * lock, thread * thrd); 32 32 33 33 //----------------------------------------------------------------------------- … … 35 35 struct processorCtx_t { 36 36 processor * proc; 37 coroutine _descc;37 coroutine c; 38 38 }; 39 39 … … 42 42 void main(processorCtx_t *); 43 43 void start(processor * this); 44 void runThread(processor * this, thread _desc* dst);44 void runThread(processor * this, thread * dst); 45 45 void finishRunning(processor * this); 46 46 void spin(processor * this, unsigned int * spin_count); … … 53 53 } 54 54 55 extern void ThreadCtxSwitch(coroutine _desc * src, coroutine_desc* dst);55 extern void ThreadCtxSwitch(coroutine * src, coroutine * dst); 56 56 57 57 #endif //KERNEL_PRIVATE_H
Note:
See TracChangeset
for help on using the changeset viewer.