Changeset d4ec49e in mainline for uspace/srv/taskman/main.c


Ignore:
Timestamp:
2019-08-07T05:25:59Z (6 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Children:
3ea98e8
Parents:
55fe220
git-author:
Michal Koutný <xm.koutny+hos@…> (2015-10-14 23:13:41)
git-committer:
Matthieu Riolo <matthieu.riolo@…> (2019-08-07 05:25:59)
Message:

taskman: Implement waiting both for retval and exit
Conflicts:

uspace/lib/c/generic/task.c
uspace/lib/c/include/task.h

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/taskman/main.c

    r55fe220 rd4ec49e  
    115115static void taskman_ctl_retval(ipc_callid_t iid, ipc_call_t *icall)
    116116{
    117         printf("%s:%i\n", __func__, __LINE__);
     117        printf("%s:%i from %llu\n", __func__, __LINE__, icall->in_task_id);
    118118        int rc = task_set_retval(icall);
    119119        async_answer_0(iid, rc);
     
    122122static void task_exit_event(ipc_callid_t iid, ipc_call_t *icall, void *arg)
    123123{
    124         printf("%s:%i\n", __func__, __LINE__);
    125124        // TODO design substitution for taskmon (monitoring)
    126125        task_id_t id = MERGE_LOUP32(IPC_GET_ARG1(*icall), IPC_GET_ARG2(*icall));
     126        printf("%s:%i from %llu/%i\n", __func__, __LINE__, id, (task_exit_t)arg);
    127127        task_terminated(id, (task_exit_t)arg);
    128128}
Note: See TracChangeset for help on using the changeset viewer.