Changeset 62b6d17 in mainline for kernel/generic/include/proc/thread.h


Ignore:
Timestamp:
2006-12-14T16:47:36Z (18 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
aeaebcc
Parents:
55cc9bc
Message:

introduce uncounted threads, whose accounting doesn't affect accumulated task accounting
run tests in kconsole thread again

File:
1 edited

Legend:

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

    r55cc9bc r62b6d17  
    149149        uint64_t cycles;                        /**< Thread accounting. */
    150150        uint64_t last_cycle;            /**< Last sampled cycle. */
     151        bool uncounted;                         /**< Thread doesn't affect accumulated accounting. */
    151152
    152153        int priority;                           /**< Thread's priority. Implemented as index to CPU->rq */
     
    169170
    170171extern void thread_init(void);
    171 extern thread_t *thread_create(void (* func)(void *), void *arg, task_t *task, int flags, char *name);
     172extern thread_t *thread_create(void (* func)(void *), void *arg, task_t *task, int flags, char *name, bool uncounted);
    172173extern void thread_ready(thread_t *t);
    173174extern void thread_exit(void) __attribute__((noreturn));
Note: See TracChangeset for help on using the changeset viewer.