aboutsummaryrefslogtreecommitdiff
path: root/kernel/kernel.c
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2012-11-03 16:38:57 +0000
committerDimitri Sokolyuk <demon@dim13.org>2012-11-03 16:38:57 +0000
commitb6101382eded36d9620ddb6e15e0dbda4705d087 (patch)
tree5e8d7997d06871f36287a24378c6db970db0f44a /kernel/kernel.c
parent9cac825d859e6f72692de4f9cf619985d2b91ceb (diff)
rename wait -> lock, signal -> unlock
Diffstat (limited to 'kernel/kernel.c')
-rw-r--r--kernel/kernel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/kernel.c b/kernel/kernel.c
index 9574e47..29a14be 100644
--- a/kernel/kernel.c
+++ b/kernel/kernel.c
@@ -200,7 +200,7 @@ exec(void (*fun)(void *), void *args, uint8_t stack)
}
void
-wait(uint8_t chan)
+lock(uint8_t chan)
{
cli();
@@ -217,7 +217,7 @@ wait(uint8_t chan)
}
void
-signal(uint8_t chan)
+unlock(uint8_t chan)
{
struct task *tp;