diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2015-07-25 02:29:58 +0200 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2015-08-15 12:43:26 +0200 |
commit | 9cbef3531bcba56b05b275ebf4d4fe0f03f3e361 (patch) | |
tree | 5a3709d9a90dbcd81786b249317039e86e1a00e7 /kern/thread.h | |
parent | ff8600ee5a6fd0f1a80848abf8adcfd3ee13fb77 (diff) |
kern: use a general lock for the IPC structuresfix-ipc-space-locking-2015-08-15
* 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.h | 2 |
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 */ |