Changeset d55ab823 in mainline for uspace/lib/ui/src/ui.c


Ignore:
Timestamp:
2020-11-07T16:16:01Z (5 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8c772c4
Parents:
b71c0fc
Message:

Return task return code from ui_run()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ui/src/ui.c

    rb71c0fc rd55ab823  
    3838#include <fibril.h>
    3939#include <stdlib.h>
     40#include <task.h>
    4041#include <ui/ui.h>
    4142#include "../private/ui.h"
     
    105106/** Execute user interface.
    106107 *
    107  * This function returns once the application starts the termination
    108  * process by calling ui_quit(@a ui).
     108 * Return task exit code of zero and block unitl the application starts
     109 * the termination process by calling ui_quit(@a ui).
    109110 *
    110111 * @param ui User interface
     
    112113void ui_run(ui_t *ui)
    113114{
     115        task_retval(0);
     116
    114117        while (!ui->quit)
    115118                fibril_usleep(100000);
Note: See TracChangeset for help on using the changeset viewer.