Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/libcfa/concurrency/kernel

    r8118303 rc84e80a  
    1818#define KERNEL_H
    1919
    20 extern struct thread_h * the_thread;
     20#include <stdbool.h>
    2121
     22struct 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
     30void ?{}(processor * this);
     31void ^?{}(processor * this);
     32
     33void scheduler_add( struct thread_h * thrd );
     34void scheduler_remove( struct thread_h * thrd );
    2235void kernel_run( void );
    2336
Note: See TracChangeset for help on using the changeset viewer.