Changeset ff14c520 in mainline for generic/include/proc/thread.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/thread.h

    r37c57f2 rff14c520  
    6060#define X_STOLEN        (1<<1)
    6161
     62/** Thread structure. There is one per thread. */
    6263struct thread {
     64        char *name;
     65       
    6366        link_t rq_link;                         /**< Run queue link. */
    6467        link_t wq_link;                         /**< Wait queue link. */
     
    126129
    127130extern void thread_init(void);
    128 extern thread_t *thread_create(void (* func)(void *), void *arg, task_t *task, int flags);
     131extern thread_t *thread_create(void (* func)(void *), void *arg, task_t *task, int flags, char *name);
    129132extern void thread_ready(thread_t *t);
    130133extern void thread_exit(void);
Note: See TracChangeset for help on using the changeset viewer.