Changeset f300523 in mainline for uspace/app/bdsh/cmds


Ignore:
Timestamp:
2017-11-29T18:43:10Z (6 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
39026d7c
Parents:
48b77ed
Message:

Eliminate uses of thread_usleep() in favor of async_usleep(). Obvious cases are in components that don't explicitly create threads.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/bdsh/cmds/modules/sleep/sleep.c

    r48b77ed rf300523  
    2727 */
    2828
     29#include <async.h>
    2930#include <errno.h>
    3031#include <stdio.h>
    3132#include <stdlib.h>
    32 #include <thread.h>
    3333#include "config.h"
    3434#include "util.h"
     
    131131        }
    132132
    133         (void) thread_usleep(duration);
     133        async_usleep(duration);
    134134
    135135        return CMD_SUCCESS;
Note: See TracChangeset for help on using the changeset viewer.