summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-03-20 16:06:21 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-03-20 16:06:21 +0000
commit1b9d6caaff22f4ea1d797328ee256a352ddf72c6 (patch)
tree9f210db88d139c9bd1fad66039957c4b230392f8
parentac17e6b1fb5d516d0cd2090a8e8a16b5cfa7b077 (diff)
(struct proc): New member `p_wakeup'. Delete member `p_continuation'.
(global_lock): New variable.
-rw-r--r--proc/proc.h20
1 files changed, 3 insertions, 17 deletions
diff --git a/proc/proc.h b/proc/proc.h
index aa34e2b9..ee5a8d10 100644
--- a/proc/proc.h
+++ b/proc/proc.h
@@ -57,23 +57,7 @@ struct proc
/* Communication */
mach_port_t p_msgport; /* send right */
- /* Continuations */
- union
- {
- struct wait_c
- {
- mach_port_t reply_port;
- mach_msg_type_name_t reply_port_type;
- pid_t pid;
- int options;
- } wait_c;
- struct getmsgport_c
- {
- mach_port_t reply_port;
- mach_msg_type_name_t reply_port_type;
- struct proc *msgp;
- } getmsgport_c;
- } p_continuation;
+ struct condition p_wakeup;
/* Miscellaneous information */
vm_address_t p_argv, p_envp;
@@ -161,6 +145,8 @@ mach_port_t master_device_port;
mach_port_t generic_port; /* messages not related to a specific proc */
+struct mutex global_lock;
+
/* Our name for version system */
#define OUR_SERVER_NAME "proc"
#define OUR_VERSION "0.0 pre-alpha"