Changeset 4ff66ae in mainline for uspace/srv/sysman/sm_task.c


Ignore:
Timestamp:
2019-08-07T11:18:35Z (6 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Children:
87a31ef2
Parents:
bb57a00
git-author:
Michal Koutný <xm.koutny+hos@…> (2015-11-13 03:13:03)
git-committer:
Matthieu Riolo <matthieu.riolo@…> (2019-08-07 11:18:35)
Message:

taskman: Bind events dump to register handler

  • So that no events are processed twice or omitted.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/sysman/sm_task.c

    rbb57a00 r4ff66ae  
    206206}
    207207
    208 int sm_task_init(void)
    209 {
    210         int rc = task_register_event_handler(&sm_task_event_handler);
    211 
    212         //TODO dump taskman info for boot time tasks
     208int sm_task_start(void)
     209{
     210        int rc = task_register_event_handler(&sm_task_event_handler, true);
    213211        return rc;
    214212}
Note: See TracChangeset for help on using the changeset viewer.