Changeset ff14c520 in mainline for generic/include/proc/task.h


Ignore:
Timestamp:
2006-03-16T22:31:39Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
93165be
Parents:
37c57f2
Message:

It is now possible to associate symbolic names with both threads and tasks.
More verbose kconsole threads, tasks and scheduler commands.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • generic/include/proc/task.h

    r37c57f2 rff14c520  
    3838struct task {
    3939        SPINLOCK_DECLARE(lock);
     40        char *name;
    4041        link_t th_head;         /**< List of threads contained in this task. */
    4142        link_t tasks_link;      /**< Link to other tasks within the system. */
     
    5354
    5455extern void task_init(void);
    55 extern task_t *task_create(as_t *as);
    56 extern task_t *task_run_program(void * program_addr);
     56extern task_t *task_create(as_t *as, char *name);
     57extern task_t *task_run_program(void *program_addr, char *name);
    5758
    5859#endif
Note: See TracChangeset for help on using the changeset viewer.