Ignore:
Timestamp:
2010-02-18T10:33:07Z (15 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c7315dd
Parents:
ca2d142
Message:

Do not sleep after spawning a task for a networking module.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/structures/module_map.c

    rca2d142 re326edc  
    8888task_id_t spawn( char * fname ){
    8989        char * argv[ 2 ];
    90 //      char * argv[ 4 ];
    9190        task_id_t       res;
    9291
    93 //      printf( "Spawning %s\n", fname );
    9492        argv[ 0 ] = fname;
    9593        argv[ 1 ] = NULL;
    9694        res = task_spawn( fname, argv );
    97 /*      argv[ 0 ] = "/app/trace";
    98         argv[ 1 ] = "+ti";
    99         argv[ 2 ] = fname;
    100         argv[ 3 ] = NULL;
    101         res = task_spawn( "/app/trace", argv );
    102 */
    103         if( res != 0 ){
    104                 /* Success */
    105                 usleep( 10000 );
    106         }
     95
    10796        return res;
    10897}
Note: See TracChangeset for help on using the changeset viewer.