summaryrefslogtreecommitdiff
path: root/libports
AgeCommit message (Collapse)Author
1996-03-28(ports_manage_port_operations_one_thread): Fill in meaningfulMichael I. Bushnell
statuses and errors rather than just zero.
1996-03-28(ports_manage_port_operations_multithread): Fill in meaningfulMichael I. Bushnell
statuses and errors rather than just zero.
1996-03-28(ports_begin_rpc): Return EOPNOTSUPP, not EDIED, if receive right isMichael I. Bushnell
gone.
1996-03-28(ports_manage_port_operations_one_thread): Fill in default replyMichael I. Bushnell
before doing work; we might return 0 and mach_msg_server expects us to fill in a reply decently no matter what. (ports_manage_port_operations_multithread): Likewise.
1996-03-28(ports_claim_right): Hold lock until sendright frobbing is finished.Michael I. Bushnell
1996-03-20(ports_claim_right):Michael I. Bushnell
1996-03-20(ports_destroy_right): Don't do anything if port has already beenMichael I. Bushnell
destroyed.
1996-03-20(SRCS): Add `claim-right.c'.Michael I. Bushnell
1996-03-20Initial revisionMichael I. Bushnell
1996-03-20(ports_claim_right): New declaration.Michael I. Bushnell
1996-03-05(ports_get_right):Miles Bader
Check mach_port_request_notification for error returns, against all odds.
1996-03-05Initial revisionMiles Bader
1996-02-26(ports_interrupt_rpc_on_notification): Only set PN->prev_req_p if PN != 0.Miles Bader
1996-02-26(ports_interrupt_rpc_on_notification):Miles Bader
Only set _PORTS_NOTIFICATIONS->prevp if _PORTS_NOTIFICATIONS != 0.
1996-01-27(ports_interrupt_rpcs): Renamed from ports_interrupt_rpc.Miles Bader
1996-01-27(ports_S_interrupt_operation):Miles Bader
Use ports_interrupt_rpcs instead of ports_interrupt_rpc. Fix spelling of cancel_threshold (was cancel_threshhold).
1996-01-27(SRCS):Miles Bader
Add default-uninhibitable-rpcs.c. Rename interrupt-rpc.c to interrupt-rpcs.c.
1996-01-27(ports_reallocate_from_external):Miles Bader
Fix spelling of cancel_threshold (was cancel_threshhold).
1996-01-27(ports_reallocate_port):Miles Bader
Fix spelling of cancel_threshold (was cancel_threshhold).
1996-01-27(ports_no_senders): Use ports_interrupt_rpcs instead of ports_interrupt_rpc.Miles Bader
1996-01-27(ports_manage_port_operations_one_thread):Miles Bader
Pass INP->msgh_id to ports_begin_rpc, and only call DEMUXER if it returns 0.
1996-01-27(ports_manage_port_operations_multithread):Miles Bader
Pass INP->msgh_id to ports_begin_rpc, and only call DEMUXER if it returns 0.
1996-01-27(ports_intern_external_port): Call ports_import_port.Miles Bader
1996-01-27(ports_create_port, ports_import_ports): New declarations.Miles Bader
(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.
1996-01-27(ports_inhibit_class_rpcs):Miles Bader
Be interruptable; return EINTR if interrupted, or EBUSY if already inhibited.
1996-01-27(ports_inhibit_bucket_rpcs):Miles Bader
Be interruptable; return EINTR if interrupted, or EBUSY if already inhibited.
1996-01-27(ports_inhibit_all_rpcs):Miles Bader
Be interruptable; return EINTR if interrupted, or EBUSY if already inhibited.
1996-01-27(ports_create_class): Initialize the uninhibitable_rpcs field.Miles Bader
1996-01-27(ports_inhibit_port_rpcs):Miles Bader
Be interruptable; return EINTR if interrupted, or EBUSY if already inhibited.
1996-01-27(ports_begin_rpc):Miles Bader
Be interruptable. Take new MSG_ID arg, and use it to see if the particular rpc shouldn't be inhibitable.
1996-01-27(ports_allocate_port): Call ports_create_port.Miles Bader
1996-01-19(ports_no_senders):Miles Bader
Interrupt RPCs on PI too. Only do the ports_interrupt_notified_rpcs() if we're actually losing a ref.
1996-01-05(ports_interrupt_rpc_on_notification): If PORT is dead or bogus, interruptMiles Bader
RPC immediately, and don't add a new request.
1995-12-28(ports_interrupt_rpc_on_notification): If NEW_REQ is not needed, put it onRoland McGrath
the free list, don't call free on it.
1995-12-28Gratuitous dithering.Miles Bader
1995-12-28(ports_interrupt_self_on_dead_port): New macro.Miles Bader
1995-12-28(ports_interrupt_notified_rpcs):Miles Bader
Only bother to lock _PORTS_LOCK if there are notifications.
1995-12-27(SRCS): Add interrupt-on-notify.c, interrupt-notified-rpcs.c, and dead-name.c.Miles Bader
1995-12-27(struct rpc_info): Add notifies field.Miles Bader
(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>.
1995-12-27(ports_do_mach_notify_dead_name): Call ports_dead_name().Miles Bader
1995-12-27(ports_no_senders): Interrupt any rpcs requesting such.Miles Bader
1995-12-27(ports_end_rpc): Get rid of any rpc notifications.Miles Bader
1995-12-27(ports_begin_rpc): Initialize the notifies field.Miles Bader
1995-12-27Initial revisionMiles Bader
1995-11-22If calling thread is serving an RPC, don't block waiting for that RPC toRoland McGrath
finish.
1995-11-22Don't wire timeouts to zero.Roland McGrath
1995-11-21(ports_S_interrupt_operation): Declare kern_return_t.Michael I. Bushnell
1995-11-21(ports_do_mach_notify_dead_name): declare kern_return_t.Michael I. Bushnell
(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.
1995-11-21(ports_S_interrupt_operation): Declare extern.Michael I. Bushnell
(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.
1995-11-21Include "notify_S.h".Michael I. Bushnell