Changeset 241f1985 in mainline for uspace/lib/c/generic/task.c


Ignore:
Timestamp:
2019-08-31T10:45:17Z (6 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Children:
102f641
Parents:
f92b315
git-author:
Matthieu Riolo <matthieu.riolo@…> (2019-08-23 22:04:34)
git-committer:
Matthieu Riolo <matthieu.riolo@…> (2019-08-31 10:45:17)
Message:

Correcting failure from previous merge

The commits from Michal Koutný from the branch system-daemon
where built on a old version of Helenos. Because of this
many types and API functions have changed. This commit
upgrades the merge code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/task.c

    rf92b315 r241f1985  
    385385        if (rc == EOK || rc == EINTR) {
    386386                if (wait->flags & TASK_WAIT_EXIT && texit)
    387                         *texit = ipc_get_arg1(wait->result);
     387                        *texit = ipc_get_arg1(&wait->result);
    388388                if (wait->flags & TASK_WAIT_RETVAL && retval)
    389                         *retval = ipc_get_arg2(wait->result);
     389                        *retval = ipc_get_arg2(&wait->result);
    390390               
    391391        }
     
    394394                /* Is there another wait to be done? Wait for it! */
    395395                int old_flags = wait->flags;
    396                 wait->flags = ipc_get_arg3(wait->result);
     396                wait->flags = ipc_get_arg3(&wait->result);
    397397                if (wait->flags != 0 && (old_flags & TASK_WAIT_BOTH)) {
    398398                        rc = task_setup_wait(wait->tid, wait);
     
    438438                return EIO;
    439439
    440         errno_t rc = (int) async_req_2_0(exch, TASKMAN_RETVAL, val, wait_for_exit);
     440        errno_t rc = async_req_2_0(exch, TASKMAN_RETVAL, val, wait_for_exit);
    441441        taskman_exchange_end(exch);
    442442       
Note: See TracChangeset for help on using the changeset viewer.