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-07-26 12:14:18 +0200
commit75e6b9de564382ce5e4d4f2092635ccded70a14c (patch)
tree122a2f7896953c109a299604bcbf77dbb48f9225 /kern/thread.h
parent6a398d74566752f0904c05ea4690427c8cecf1b5 (diff)
kern: use a general lock for the IPC structuresfix-ipc-space-locking-2015-07-27
* 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 0e85d8c..adf8b86 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 */