summaryrefslogtreecommitdiff
path: root/proc/msg.c
AgeCommit message (Collapse)Author
1999-05-041999-05-01 Mark Kettenis <kettenis@gnu.org>Thomas Bushnell
* msg.c (check_msgport_death): New function. (S_proc_getmsgport): Use it. * proc.h (check_msgport_death): Provide prototype. * info.c (S_proc_getprocinfo): Call check_msgport_death to make sure that our knowledge about P's message port is up to date.
1999-03-121999-03-11 Mark Kettenis <kettenis@gnu.org>Thomas Bushnell
* notify.c (do_mach_notify_dead_name): Remove unnecessary braces. * msg.c (S_proc_setmsgport): Remove unused variable FOO. (S_proc_getmsgport): Only check if the message port is still alive if it is not MACH_PORT_NULL. Use mach_port_type instead of mach_port_get_refs to check if the port is dead. * mgt.c (S_proc_reassign): Use mach_port_destroy to release the old task port.
1999-03-09Tue Mar 9 13:11:43 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* notify.c (do_mach_notify_dead_name): Don't check against P->p_msgport anymore. * msg.c (message_port_dead): Delete function. (S_proc_setmsgport): Don't request a dead-name notification anymore. (S_proc_getmsgport): Check to see if P->p_msgport is dead before returning it. * mgt.c (S_proc_reassign): Only use mach_port_deallocate to release P->msgport. (process_has_exited): Likewise. * proc.h (message_port_dead): Delete prototype.
1996-07-20(S_proc_getmsgport): Deal with PID dying while we're waiting.Miles Bader
1996-07-19*** empty log message ***Michael I. Bushnell
1996-07-18*** empty log message ***Michael I. Bushnell
1996-06-20(S_proc_setmsgport): Add OLDMSGPORT_TYPE param.Miles Bader
1996-04-25 Many changes to support multi-threading. See ChangeLog.Michael I. Bushnell
1996-03-20(abort_getmsgport): Delete function.Michael I. Bushnell
(check_message_return): Use condition_broadcast instead of continuation stuff. (check_message_dying): Likewise. (S_proc_getmsgport): Use condition_wait instead of continuation stuff; never return EBUSY.
1995-11-09(S_proc_setmsgport): Only do the RPC reply by hand for proc. Also,Michael I. Bushnell
return the correct port in that by-hand reply.
1995-11-09(S_proc_getmsgport): Also return EBUSY if P->waiting, because bothMichael I. Bushnell
share the same memory in the proc structure.
1994-07-22entered into RCSMichael I. Bushnell
1994-05-12Formerly msg.c.~6~Roland McGrath
1994-05-09Formerly msg.c.~5~Michael I. Bushnell
1994-05-06Formerly msg.c.~4~Michael I. Bushnell
1994-03-24Formerly msg.c.~3~Michael I. Bushnell
1994-03-22Formerly msg.c.~2~Michael I. Bushnell
1994-03-22Initial revisionMichael I. Bushnell