From 701a5d9cf5a9416eb8303d703049bf1d4c6c69f0 Mon Sep 17 00:00:00 2001 From: Richard Braun Date: Wed, 18 Jun 2014 23:35:45 +0200 Subject: kern/thread: add thread_join This change affects more files than it apparently would at first glance. This is because circular dependencies can easily be created between the thread, mutex, condition and spinlock modules. As a result, some of the types of these modules are now defined in kern/types.h. --- kern/mutex.c | 1 + 1 file changed, 1 insertion(+) (limited to 'kern/mutex.c') diff --git a/kern/mutex.c b/kern/mutex.c index 58e24513..3c76f50c 100644 --- a/kern/mutex.c +++ b/kern/mutex.c @@ -19,6 +19,7 @@ #include #include #include +#include void mutex_lock_slow(struct mutex *mutex) -- cgit v1.2.3