Changeset e9e4e9ee for src/libcfa/concurrency/kernel
- Timestamp:
- Jan 19, 2017, 11:04:27 AM (9 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 2175062
- Parents:
- 5ebb2fbc (diff), 68e6031 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/concurrency/kernel
r5ebb2fbc re9e4e9ee 18 18 #define KERNEL_H 19 19 20 extern struct thread_h * the_thread; 20 #include <stdbool.h> 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 ); 22 35 void kernel_run( void ); 23 36
Note:
See TracChangeset
for help on using the changeset viewer.