Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/libcfa/concurrency/kernel

    rc84e80a r8118303  
    1818#define KERNEL_H
    1919
    20 #include <stdbool.h>
     20extern struct thread_h * the_thread;
    2121
    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 );
    3522void kernel_run( void );
    3623
Note: See TracChangeset for help on using the changeset viewer.