Changeset 95bc57c in mainline for uspace/srv


Ignore:
Timestamp:
2009-07-06T20:55:07Z (16 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1757ffce
Parents:
adb49f58
Message:

Servers can return value as soon as they are up. Use this with block-device drivers to start them synchronously. Eliminate ad-hoc sleeping.

Location:
uspace/srv/bd
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/bd/ata_bd/ata_bd.c

    radb49f58 r95bc57c  
    5555#include <errno.h>
    5656#include <bool.h>
     57#include <task.h>
    5758
    5859#include "ata_bd.h"
     
    136137
    137138        printf(NAME ": Accepting connections\n");
     139        task_retval(0);
    138140        async_manager();
    139141
  • uspace/srv/bd/file_bd/file_bd.c

    radb49f58 r95bc57c  
    5050#include <errno.h>
    5151#include <bool.h>
     52#include <task.h>
    5253
    5354#define NAME "file_bd"
     
    8788
    8889        printf(NAME ": Accepting connections\n");
     90        task_retval(0);
    8991        async_manager();
    9092
  • uspace/srv/bd/gxe_bd/gxe_bd.c

    radb49f58 r95bc57c  
    4747#include <sys/types.h>
    4848#include <errno.h>
     49#include <task.h>
    4950
    5051#define NAME "gxe_bd"
     
    111112
    112113        printf(NAME ": Accepting connections\n");
     114        task_retval(0);
    113115        async_manager();
    114116
Note: See TracChangeset for help on using the changeset viewer.