Changeset 566f4cfb in mainline for uspace/app/init/init.c


Ignore:
Timestamp:
2009-04-24T08:01:05Z (17 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
402de0c
Parents:
ab1861a
Message:

use buffering for klog output (this can be used to avoid the ugly usleeps while starting tasks)
unify and cleanup console.c and related files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/init/init.c

    rab1861a r566f4cfb  
    8989        argv[1] = NULL;
    9090       
    91         if (task_spawn(fname, argv)) {
    92                 /* Add reasonable delay to avoid intermixed klog output. */
    93                 usleep(10000);
    94         } else {
     91        if (!task_spawn(fname, argv))
    9592                printf(NAME ": Error spawning %s\n", fname);
    96         }
    9793}
    9894
Note: See TracChangeset for help on using the changeset viewer.