Changeset e326edc in mainline
- Timestamp:
- 2010-02-18T10:33:07Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c7315dd
- Parents:
- ca2d142
- Location:
- uspace/srv/net
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/net/start/netstart.c
rca2d142 re326edc 101 101 task_id_t res; 102 102 103 // printf( "Spawning %s\n", fname );104 103 argv[ 0 ] = fname; 105 104 argv[ 1 ] = NULL; 106 105 res = task_spawn( fname, argv ); 107 if( res != 0 ){ 108 /* Success */ 109 usleep( 50000 ); 110 } 106 111 107 return res; 112 108 } -
uspace/srv/net/structures/module_map.c
rca2d142 re326edc 88 88 task_id_t spawn( char * fname ){ 89 89 char * argv[ 2 ]; 90 // char * argv[ 4 ];91 90 task_id_t res; 92 91 93 // printf( "Spawning %s\n", fname );94 92 argv[ 0 ] = fname; 95 93 argv[ 1 ] = NULL; 96 94 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 107 96 return res; 108 97 }
Note:
See TracChangeset
for help on using the changeset viewer.