summaryrefslogtreecommitdiff
path: root/kern/thread.h
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2015-07-25 02:29:58 +0200
committerJustus Winter <4winter@informatik.uni-hamburg.de>2015-08-28 15:47:56 +0200
commitd9da5d41510e102983a51f9c9be08a80956b33e4 (patch)
treeedabf0e3c2837e1a3a7436a0f8aae138cd1c761e /kern/thread.h
parent4b5f47f01217c20c4213660567f6c28dec4554cf (diff)
kern: use a general lock for the IPC structures
* ipc/ipc_thread.h (ith_{lock_init,lock,unlock}): Use a general lock. * kern/task.h (struct task): Use a general lock for `itk_lock_data'. (itk_{lock_init,lock,unlock}): Use a general lock. * kern/thread.h (struct thread): Use a general lock for `ith_lock_data'.
Diffstat (limited to 'kern/thread.h')
-rw-r--r--kern/thread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kern/thread.h b/kern/thread.h
index 7106fd2..3128d7d 100644
--- a/kern/thread.h
+++ b/kern/thread.h
@@ -168,7 +168,7 @@ struct thread {
See ipc_kmsg_destroy() for more details. */
struct ipc_kmsg_queue ith_messages;
- decl_simple_lock_data(, ith_lock_data)
+ struct lock ith_lock_data;
struct ipc_port *ith_self; /* not a right, doesn't hold ref */
struct ipc_port *ith_sself; /* a send right */
struct ipc_port *ith_exception; /* a send right */