Changeset 566f4cfb in mainline for kernel/generic/src/main/kinit.c


Ignore:
Timestamp:
2009-04-24T08:01:05Z (15 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
  • kernel/generic/src/main/kinit.c

    rab1861a r566f4cfb  
    219219       
    220220        /*
    221          * Run user tasks with small delays
    222          * to avoid intermixed klog output.
    223          *
    224          * TODO: This certainly does not guarantee
    225          *       anything, it just works in most of the
    226          *       cases. Some better way how to achieve
    227          *       nice klog output should be found.
     221         * Run user tasks.
    228222         */
    229223        for (i = 0; i < init.cnt; i++) {
    230                 if (programs[i].task != NULL) {
     224                if (programs[i].task != NULL)
    231225                        program_ready(&programs[i]);
    232                         thread_usleep(10000);
    233                 }
    234226        }
    235227       
Note: See TracChangeset for help on using the changeset viewer.