Changeset 87a31ef2 in mainline for uspace/lib/c/include


Ignore:
Timestamp:
2019-08-07T11:47:00Z (6 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Children:
d5cca04
Parents:
4ff66ae
git-author:
Michal Koutny <xm.koutny+hos@…> (2015-11-15 11:47:07)
git-committer:
Matthieu Riolo <matthieu.riolo@…> (2019-08-07 11:47:00)
Message:

ns: Created simplified taskman API using low-level IPC API only

Conflicts:

uspace/lib/c/generic/async.c
uspace/lib/c/generic/private/async.h
uspace/lib/c/include/task.h
uspace/srv/ns/ns.c

Location:
uspace/lib/c/include
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/task.h

    r4ff66ae r87a31ef2  
    3939#include <stdarg.h>
    4040#include <abi/proc/task.h>
    41 #include <async.h>
    4241#include <types/task.h>
    4342
     
    7776
    7877/* Implemented in task_event.c */
    79 extern int task_register_event_handler(task_event_handler_t);
     78extern int task_register_event_handler(task_event_handler_t, bool);
    8079
    8180#endif
  • uspace/lib/c/include/taskman.h

    r4ff66ae r87a31ef2  
    3636#define LIBC_TASKMAN_H_
    3737
    38 #ifndef TASKMAN_DISABLE_ASYNC
    3938#include <async.h>
    40 #endif
    4139
    4240/* Internal functions to be used by loader only */
    43 #ifndef TASKMAN_DISABLE_ASYNC
    4441extern async_sess_t *taskman_get_session(void);
    45 #endif
    4642extern int taskman_intro_loader(void);
    4743
  • uspace/lib/c/include/types/task.h

    r4ff66ae r87a31ef2  
    3636#define _LIBC_TYPES_TASK_H_
    3737
     38#include <async.h>
     39
    3840typedef enum {
    3941        TASK_EXIT_RUNNING,   /**< Internal taskman value. */
Note: See TracChangeset for help on using the changeset viewer.