Changeset e5a1f82f in mainline for init/init.c
- Timestamp:
- 2006-03-17T18:09:15Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 81e55099
- Parents:
- 11a4fbf
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
init/init.c
r11a4fbf re5a1f82f 38 38 void utest(void *arg) 39 39 { 40 // printf("Uspace thread created.\n");40 // printf("Uspace thread started.\n"); 41 41 for (;;) 42 42 ; … … 190 190 { 191 191 int tid; 192 char *stack;193 192 version_print(); 194 193 … … 199 198 test_connection_ipc(); 200 199 201 stack = (char *) malloc(getpagesize()); 202 if (!stack) { 203 printf("Malloc failed.\n"); 204 } else { 205 if ((tid = thread_create(utest, NULL, stack, "utest") != -1)) { 206 printf("Created thread tid=%d\n", tid); 207 } 200 if ((tid = thread_create(utest, NULL, "utest") != -1)) { 201 printf("Created thread tid=%d\n", tid); 208 202 } 209 203
Note:
See TracChangeset
for help on using the changeset viewer.