Changeset c675ab1 in mainline


Ignore:
Timestamp:
2019-08-07T05:42:55Z (5 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Children:
456f7ae
Parents:
b8341bc
git-author:
Michal Koutný <xm.koutny+hos@…> (2015-10-20 21:01:42)
git-committer:
Matthieu Riolo <matthieu.riolo@…> (2019-08-07 05:42:55)
Message:

taskman: Restore uppercase (vimstorm?)

File:
1 edited

Legend:

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

    rb8341bc rc675ab1  
    11/*
    2  * copyright (c) 2009 martin decky
    3  * copyright (c) 2009 jiri svoboda
    4  * copyright (c) 2015 michal koutny
    5  * all rights reserved.
    6  *
    7  * redistribution and use in source and binary forms, with or without
     2 * Copyright (c) 2009 Martin Decky
     3 * Copyright (c) 2009 Jiri Svoboda
     4 * Copyright (c) 2015 Michal Koutny
     5 * All rights reserved.
     6 *
     7 * Redistribution and use in source and binary forms, with or without
    88 * modification, are permitted provided that the following conditions
    99 * are met:
    1010 *
    11  * - redistributions of source code must retain the above copyright
     11 * - Redistributions of source code must retain the above copyright
    1212 *   notice, this list of conditions and the following disclaimer.
    13  * - redistributions in binary form must reproduce the above copyright
     13 * - Redistributions in binary form must reproduce the above copyright
    1414 *   notice, this list of conditions and the following disclaimer in the
    1515 *   documentation and/or other materials provided with the distribution.
    16  * - the name of the author may not be used to endorse or promote products
     16 * - The name of the author may not be used to endorse or promote products
    1717 *   derived from this software without specific prior written permission.
    1818 *
    19  * this software is provided by the author ``as is'' and any express or
    20  * implied warranties, including, but not limited to, the implied warranties
    21  * of merchantability and fitness for a particular purpose are disclaimed.
    22  * in no event shall the author be liable for any direct, indirect,
    23  * incidental, special, exemplary, or consequential damages (including, but
    24  * not limited to, procurement of substitute goods or services; loss of use,
    25  * data, or profits; or business interruption) however caused and on any
    26  * theory of liability, whether in contract, strict liability, or tort
    27  * (including negligence or otherwise) arising in any way out of the use of
    28  * this software, even if advised of the possibility of such damage.
     19 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AS IS'' AND ANY EXPRESS OR
     20 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
     21 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
     22 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
     23 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
     24 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
     25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
     26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
     27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
     28 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    2929 */
    3030
     
    6060} retval_t;
    6161
    62 /** task hash table item. */
     62/** Task hash table item. */
    6363typedef struct {
    6464        ht_link_t link;
    6565       
    66         task_id_t id;          /**< task id. */
    67         task_exit_t exit;      /**< task's uspace exit status. */
    68         bool failed;           /**< task failed. */
    69         retval_t retval_type;  /**< task returned a value. */
    70         int retval;            /**< the return value. */
     66        task_id_t id;          /**< Task id. */
     67        task_exit_t exit;      /**< Task's uspace exit status. */
     68        bool failed;           /**< Task failed. */
     69        retval_t retval_type;  /**< Task returned a value. */
     70        int retval;            /**< The return value. */
    7171} hashed_task_t;
    7272
     
    8989}
    9090
    91 /** perform actions after removal of item from the hash table. */
     91/** Perform actions after removal of item from the hash table. */
    9292static void task_remove(ht_link_t *item)
    9393{
     
    9595}
    9696
    97 /** operations for task hash table. */
     97/** Operations for task hash table. */
    9898static hash_table_ops_t task_hash_table_ops = {
    9999        .hash = task_hash,
Note: See TracChangeset for help on using the changeset viewer.