Changeset 102f641 in mainline for uspace/srv/taskman/task.h


Ignore:
Timestamp:
2019-09-02T19:01:50Z (5 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Children:
25697163
Parents:
241f1985
Message:

Correcting syntax according to ccheck

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/taskman/task.h

    r241f1985 r102f641  
    4343/** What type of retval from the task we have */
    4444typedef enum {
    45         RVAL_UNSET,     /**< unset */
    46         RVAL_SET,       /**< retval set, e.g. by server */
    47         RVAL_SET_EXIT   /**< retval set, wait for expected task exit */
     45        /* unset */
     46        RVAL_UNSET,
     47
     48        /* retval set, e.g. by server */
     49        RVAL_SET,
     50
     51        /* retval set, wait for expected task exit */
     52        RVAL_SET_EXIT
    4853} retval_t;
    4954
     
    5156typedef struct {
    5257        ht_link_t link;
    53        
    54         task_id_t id;          /**< Task id. */
    55         task_exit_t exit;      /**< Task's uspace exit status. */
    56         bool failed;           /**< Task failed (task can exit unexpectedly
    57                                     even w/out failure). */
    58         retval_t retval_type;  /**< Task returned a value. */
    59         int retval;            /**< The return value. */
    6058
    61         link_t listeners;      /**< Link to listeners list. */
    62         async_sess_t *sess;    /**< Session for notifications to task. */
     59        /* Task id. */
     60        task_id_t id;
     61        /* Task's uspace exit status. */
     62        task_exit_t exit;
     63        /* Task failed (task can exit unexpectedly even w/out failure). */
     64        bool failed;
     65        /* Task returned a value. */
     66        retval_t retval_type;
     67        /* The return value. */
     68        int retval;
     69        /* Link to listeners list. */
     70        link_t listeners;
     71        /* Session for notifications to task. */
     72        async_sess_t *sess;
    6373} task_t;
    6474
    65 typedef bool (* task_walker_t)(task_t *, void *);
     75typedef bool (*task_walker_t)(task_t *, void *);
    6676
    6777extern fibril_rwlock_t task_hash_table_lock;
Note: See TracChangeset for help on using the changeset viewer.