Age | Commit message (Collapse) | Author |
|
* get-send-right.c: New file.
* ports.h: Declare ports_get_send_right.
* Makefile (SRCS): Add get-send-right.c.
|
|
* destroy-right.c (ports_destroy_right): Return error_t (always 0).
* ports.h: Update decl.
* bucket-iterate.c (_ports_bucket_class_iterate): New function,
transmorgified from ports_bucket_iterate.
(ports_bucket_iterate): Now just call that to do the work.
* class-iterate.c: New file.
(ports_class_iterate): New function.
* ports.h: Declare ports_class_iterate and _ports_bucket_class_iterate.
* Makefile (SRCS): Add class-iterate.c.
|
|
New declarations.
(struct rpc_info):
Add interrupted_next field.
|
|
* manage-multithread.c (ports_manage_port_operations_multithread):
Drop parms `wire_cthreads' and `wire_threads'. Add parm `hook'.
(thread_function): Call HOOK instead of cthread_wire and/or
thread_wire.
* ports.h (ports_manage_port_operations_multithread): Adjust
declaration.
|
|
|
|
declarations.
|
|
(ports_transfer_right): New function.
|
|
|
|
(struct ports_msg_id_range): New structure.
(ports_default_uninhibitable_rpcs): New declaration.
(ports_interupt_rpcs): Renamed from port_interrupt_rpc.
(ports_begin_rpc): Add MSG_ID arg.
(struct port_class):
Add uninhibitable_rpcs field.
Fix spelling of cancel_threshold (was cancel_threshhold).
(PORTS_INHIBITED, PORTS_BLOCKED, PORTS_INHIBIT_WAIT, PORTS_NO_ALLOC,
PORTS_ALLOC_WAIT):
New macros (global values for common flags).
(PORT_BLOCKED, PORT_INHIBITED, PORT_INHIBIT_WAIT, PORT_BUCKET_INHIBITED,
PORT_BUCKET_BLOCKED, PORT_BUCKET_INHIBIT_WAIT, PORT_BUCKET_NO_ALLOC,
PORT_BUCKET_ALLOC_WAIT, PORT_CLASS_INHIBITED, PORT_CLASS_BLOCKED,
PORT_CLASS_INHIBIT_WAIT, PORT_CLASS_NO_ALLOC, PORT_CLASS_ALLOC_WAIT,
_PORTS_INHIBITED, _PORTS_BLOCKED, _PORTS_INHIBIT_WAIT):
Redefine using global flag values.
(ports_inhibit_port_rpcs, ports_inhibit_all_rpcs,
ports_inhibit_class_rpcs, ports_inhibit_bucket_rpcs):
Return error_t.
|
|
|
|
|
|
(struct ports_notify): New structure.
(struct rpc_notify): New structure.
(_ports_notifications, _ports_free_rpc_notifies, _ports_free_ports_notifies):
New variable declarations.
(ports_interrupt_self_on_notification, ports_interrupt_rpc_on_notification,
ports_interrupt_notified_rpcs, _ports_remove_notified_rpc):
New functiondeclarations.
Include <mach/notify.h>.
|
|
(ports_do_mach_notify_msg_accepted): Likewise.
(ports_do_mach_notify_no_senders): Likewise.
(ports_do_mach_notify_port_deleted): Likewise.
(ports_do_mach_notify_port_destroyed): Likewise.
(ports_do_mach_notify_send_once): Likewise.
(ports_S_interrupt_operation): Likewise.
|
|
(ports_do_mach_notify_dead_name): Likewise.
(ports_do_mach_notify_msg_accepted): Likewise.
(ports_do_mach_notify_no_senders): Likewise.
(ports_do_mach_notify_port_deleted): Likewise.
(ports_do_mach_notify_port_destroyed): Likewise.
(ports_do_mach_notify_send_once): Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|