Changeset 55fe220 in mainline for uspace/app/vlaunch/vlaunch.c


Ignore:
Timestamp:
2019-08-07T04:56:41Z (6 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Children:
d4ec49e
Parents:
5044114
git-author:
Michal Koutný <xm.koutny+hos@…> (2015-10-12 22:21:42)
git-committer:
Matthieu Riolo <matthieu.riolo@…> (2019-08-07 04:56:41)
Message:

taskman: Modify existing callers of task_wait API
Conflicts:

uspace/app/bdsh/exec.c
uspace/app/getterm/getterm.c
uspace/app/sbi/src/os/helenos.c
uspace/app/vlaunch/vlaunch.c
uspace/lib/pcut/src/os/helenos.c
uspace/srv/hid/remcons/remcons.c

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/vlaunch/vlaunch.c

    r5044114 r55fe220  
    6666        task_id_t id;
    6767        task_wait_t wait;
     68        task_wait_set(&wait, TASK_WAIT_RETVAL);
    6869        errno_t rc = task_spawnl(&id, &wait, app, app, winreg, NULL);
    6970        if (rc != EOK) {
     
    7273                return -1;
    7374        }
    74 
    75         task_exit_t texit;
     75       
    7676        int retval;
    77         rc = task_wait(&wait, &texit, &retval);
    78         if ((rc != EOK) || (texit != TASK_EXIT_NORMAL)) {
     77        rc = task_wait(&wait, NULL, &retval);
     78        if ((rc != EOK)) {
    7979                printf("%s: Error retrieving retval from %s (%s)\n", NAME,
    8080                    app, str_error(rc));
Note: See TracChangeset for help on using the changeset viewer.