Changeset b22b0a94 in mainline for uspace/app/tester/proc/common.h


Ignore:
Timestamp:
2019-08-07T05:39:54Z (5 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Children:
b8341bc
Parents:
5cd2290
git-author:
Michal Koutný <xm.koutny+hos@…> (2015-10-19 21:34:52)
git-committer:
Matthieu Riolo <matthieu.riolo@…> (2019-08-07 05:39:54)
Message:

task: Inoperative API for passing kernel task events to uspace

  • Based on user-provided callback function.
  • Includes slight refactoring of tester application code.

Conflicts:

uspace/lib/c/include/task.h

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/tester/proc/common.h

    r5cd2290 rb22b0a94  
    4444#define STR_JOB_OK      "job-ok"
    4545
     46#define DUMMY_TASK     "/root/app/tester"
     47#define DUMMY_TASK_ARG "proc_dummy_task"
     48
     49static inline int dummy_task_spawn(task_id_t *task_id, task_wait_t *wait,
     50    const char *behavior)
     51{
     52        return task_spawnl(task_id, wait,
     53            DUMMY_TASK, DUMMY_TASK, DUMMY_TASK_ARG, behavior,
     54            NULL);
     55}
     56
    4657#endif
Note: See TracChangeset for help on using the changeset viewer.