Changeset 73f7c4e in mainline for uspace/srv/sysman/sysman.h


Ignore:
Timestamp:
2019-08-06T18:29:02Z (6 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Children:
c2d50c8
Parents:
c1b2084
git-author:
Michal Koutný <xm.koutny+hos@…> (2015-05-24 09:32:10)
git-committer:
Matthieu Riolo <matthieu.riolo@…> (2019-08-06 18:29:02)
Message:

sysman: Create tests for job control

  • units are mocked by patching virtual methods table
  • sysman_process_queue to enforce emptying event queue

Conflicts:

.bzrignore
boot/Makefile.common

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/sysman/sysman.h

    rc1b2084 r73f7c4e  
    3838extern void sysman_events_init(void);
    3939extern int sysman_events_loop(void *);
    40 extern int sysman_queue_job(unit_t *, unit_state_t, callback_handler_t, void *);
     40extern int sysman_run_job(unit_t *, unit_state_t, callback_handler_t, void *);
    4141
    4242
    4343extern void sysman_raise_event(event_handler_t, void *);
     44extern void sysman_process_queue(void);
    4445extern int sysman_object_observer(void *, callback_handler_t, void *);
    4546
Note: See TracChangeset for help on using the changeset viewer.