Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 1078 → Rev 1079

//uspace/trunk/init/init.c
37,7 → 37,7
extern void utest(void *arg);
void utest(void *arg)
{
// printf("Uspace thread created.\n");
// printf("Uspace thread started.\n");
for (;;)
;
}
189,7 → 189,6
int main(int argc, char *argv[])
{
int tid;
char *stack;
version_print();
 
/* test_printf(); */
198,13 → 197,8
// test_advanced_ipc();
test_connection_ipc();
stack = (char *) malloc(getpagesize());
if (!stack) {
printf("Malloc failed.\n");
} else {
if ((tid = thread_create(utest, NULL, stack, "utest") != -1)) {
printf("Created thread tid=%d\n", tid);
}
if ((tid = thread_create(utest, NULL, "utest") != -1)) {
printf("Created thread tid=%d\n", tid);
}
return 0;