Subversion Repositories HelenOS-historic

Rev

Rev 73 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 73 Rev 125
Line 71... Line 71...
71
    void (* thread_code)(void *);
71
    void (* thread_code)(void *);
72
    void *thread_arg;
72
    void *thread_arg;
73
 
73
 
74
    context_t saved_context;
74
    context_t saved_context;
75
    context_t sleep_timeout_context;
75
    context_t sleep_timeout_context;
76
    fpu_context_t saved_fpu_context;                   
76
    fpu_context_t saved_fpu_context;
77
    int fpu_context_exists;                
77
    int fpu_context_exists;
-
 
78
 
-
 
79
    /*
78
    int fpu_context_engaged;               /* Defined only if thread doesn't run. It means that fpu context is in CPU
80
     * Defined only if thread doesn't run.
79
                        that last time executes this thread. This disables migration */          
81
     * It means that fpu context is in CPU that last time executes this thread.
-
 
82
     * This disables migration
80
   
83
     */
-
 
84
    int fpu_context_engaged;
81
   
85
 
82
    waitq_t *sleep_queue;
86
    waitq_t *sleep_queue;
83
    timeout_t sleep_timeout;
87
    timeout_t sleep_timeout;
84
    volatile int timeout_pending;
88
    volatile int timeout_pending;
85
 
89
 
86
    rwlock_type_t rwlock_holder_type;
90
    rwlock_type_t rwlock_holder_type;