Changeset 4667b5c in mainline for uspace/srv/taskman/task.h


Ignore:
Timestamp:
2019-08-07T11:10:46Z (6 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Children:
bb57a00
Parents:
130ba46
git-author:
Michal Koutný <xm.koutny+hos@…> (2015-11-13 01:56:10)
git-committer:
Matthieu Riolo <matthieu.riolo@…> (2019-08-07 11:10:46)
Message:

taskman: Add method to dump events of already running tasks

It's crafted for early startup of sysman.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/taskman/task.h

    r130ba46 r4667b5c  
    6363} task_t;
    6464
    65 extern hash_table_t task_hash_table;
     65typedef bool (* task_walker_t)(task_t *, void *);
     66
    6667extern fibril_rwlock_t task_hash_table_lock;
    6768
    68 extern int task_init(void);
     69extern int tasks_init(void);
    6970
    7071extern task_t *task_get_by_id(task_id_t);
     72
     73extern void task_foreach(task_walker_t, void *);
     74
     75extern void task_remove(task_t **);
    7176
    7277extern int task_intro(task_id_t);
Note: See TracChangeset for help on using the changeset viewer.