Subversion Repositories HelenOS

Rev

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

Rev 1888 Rev 2030
Line 143... Line 143...
143
   
143
   
144
    cpu_t *cpu;             /**< Thread's CPU. */
144
    cpu_t *cpu;             /**< Thread's CPU. */
145
    task_t *task;               /**< Containing task. */
145
    task_t *task;               /**< Containing task. */
146
 
146
 
147
    uint64_t ticks;             /**< Ticks before preemption. */
147
    uint64_t ticks;             /**< Ticks before preemption. */
-
 
148
   
-
 
149
    uint64_t cycles;            /**< Task accounting. */
-
 
150
    uint64_t last_cycle;        /**< Last sampled cycle. */
148
 
151
 
149
    int priority;               /**< Thread's priority. Implemented as index to CPU->rq */
152
    int priority;               /**< Thread's priority. Implemented as index to CPU->rq */
150
    uint32_t tid;               /**< Thread ID. */
153
    uint32_t tid;               /**< Thread ID. */
151
   
154
   
152
    thread_arch_t arch;         /**< Architecture-specific data. */
155
    thread_arch_t arch;         /**< Architecture-specific data. */
Line 187... Line 190...
187
extern void thread_detach(thread_t *t);
190
extern void thread_detach(thread_t *t);
188
 
191
 
189
extern void thread_register_call_me(void (* call_me)(void *), void *call_me_with);
192
extern void thread_register_call_me(void (* call_me)(void *), void *call_me_with);
190
extern void thread_print_list(void);
193
extern void thread_print_list(void);
191
extern void thread_destroy(thread_t *t);
194
extern void thread_destroy(thread_t *t);
-
 
195
extern void thread_update_accounting(void);
192
extern bool thread_exists(thread_t *t);
196
extern bool thread_exists(thread_t *t);
193
 
197
 
194
/* Fpu context slab cache */
198
/* Fpu context slab cache */
195
extern slab_cache_t *fpu_context_slab;
199
extern slab_cache_t *fpu_context_slab;
196
 
200