voron

experimental ARM OS
git clone git://git.2f30.org/voron
Log | Files | Refs | README | LICENSE

commit 8487ac8e7e7a793084b72ee82b206ee1fc3a4ae8
parent 2495223bb4a77539f2060d7b18038bdd3664e090
Author: oblique <psyberbits@gmail.com>
Date:   Mon,  5 Nov 2012 18:12:19 +0200

minor change in thread_func() example

Diffstat:
Mkernel/kmain.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/kernel/kmain.c b/kernel/kmain.c @@ -18,6 +18,7 @@ thread_func(void *arg) msleep(500); i++; if (i == 20 * n) { + i = 0; semaphore_done(&sem); kprintf("thread %d released semaphore\n", n); }