Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 2877 → Rev 2867

/branches/tracing/uspace/app/tester/debug/debug1.c
12,9 → 12,6
done = 1;
}
 
#include <vfs/vfs.h>
#include <errno.h>
 
char * test_debug1(bool quiet)
{
int rc;
22,20 → 19,15
 
done = 0;
 
getchar();
if (mount("tmpfs", "/", "nulldev0") != EOK)
return "mount() failed.\n";
getchar();
printf("running debug1 test\n");
rc = thread_create(t_proc, NULL, "test", &tid);
 
// printf("running debug1 test\n");
// rc = thread_create(t_proc, NULL, "test", &tid);
 
//printf("(active) wait for thread 'test'\n");
// while (!done) {
// usleep(20000000);
// printf(".");
// }
while (!done) {
usleep(20000000);
printf(".");
}
 
// printf("done\n");
printf("done\n");
return NULL;
}