Changes in src/libcfa/concurrency/kernel [c84e80a:8118303]
- File:
-
- 1 edited
-
src/libcfa/concurrency/kernel (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/concurrency/kernel
rc84e80a r8118303 18 18 #define KERNEL_H 19 19 20 #include <stdbool.h> 20 extern struct thread_h * the_thread; 21 21 22 struct processor {23 struct proc_coroutine * cor;24 unsigned int thread_index;25 unsigned int thread_count;26 struct thread_h * threads[10];27 bool terminated;28 };29 30 void ?{}(processor * this);31 void ^?{}(processor * this);32 33 void scheduler_add( struct thread_h * thrd );34 void scheduler_remove( struct thread_h * thrd );35 22 void kernel_run( void ); 36 23
Note:
See TracChangeset
for help on using the changeset viewer.