summaryrefslogtreecommitdiff
path: root/src/modules/test/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/test/main.c')
-rw-r--r--src/modules/test/main.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/modules/test/main.c b/src/modules/test/main.c
index 01ab836..9e03ee8 100644
--- a/src/modules/test/main.c
+++ b/src/modules/test/main.c
@@ -1,9 +1,11 @@
-#include <grapes/syscall.h>
+#include <gc/syscall.h>
+
+#define FACTOR 4
void thread2(void* d) {
while (1) {
- thread_sleep(1400);
printk("$");
+ thread_sleep(35*FACTOR);
}
}
@@ -12,8 +14,8 @@ int main() {
printk("[module:test] Creating new thread...\n");
thread_new(thread2, 0);
while (1) {
- thread_sleep(2000);
printk(".");
+ thread_sleep(50*FACTOR);
}
return 0;
}