Changeset e1b6742 in mainline for kernel/generic/src/proc/task.c


Ignore:
Timestamp:
2010-04-18T12:17:11Z (15 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e535eeb
Parents:
bbda5ab
Message:

export threads to user space
the "tasks" command can now print all threads or threads belonging to a task

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/proc/task.c

    rbbda5ab re1b6742  
    312312 * @param id Task ID.
    313313 *
    314  * @return Task structure address or NULL if there is no such task
    315  *         ID.
     314 * @return Task structure address or NULL if there is no such task ID.
    316315 *
    317316 */
    318317task_t *task_find_by_id(task_id_t id)
    319318{
    320         avltree_node_t *node;
    321         node = avltree_search(&tasks_tree, (avltree_key_t) id);
     319        avltree_node_t *node =
     320            avltree_search(&tasks_tree, (avltree_key_t) id);
    322321       
    323322        if (node)
Note: See TracChangeset for help on using the changeset viewer.