Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/proc/thread.h

    ree42e43 r48dcc69  
    4040#include <time/timeout.h>
    4141#include <cpu.h>
     42#include <synch/rwlock.h>
    4243#include <synch/spinlock.h>
    4344#include <adt/avl.h>
     
    154155        int fpu_context_engaged;
    155156       
     157        rwlock_type_t rwlock_holder_type;
     158       
     159        /** Callback fired in scheduler before the thread is put asleep. */
     160        void (* call_me)(void *);
     161        /** Argument passed to call_me(). */
     162        void *call_me_with;
     163       
    156164        /** Thread's state. */
    157165        state_t state;
     
    231239extern void thread_detach(thread_t *);
    232240
     241extern void thread_register_call_me(void (*)(void *), void *);
    233242extern void thread_print_list(bool);
    234243extern void thread_destroy(thread_t *, bool);
Note: See TracChangeset for help on using the changeset viewer.