summaryrefslogtreecommitdiff
path: root/libports
AgeCommit message (Collapse)Author
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
1995-11-21Include "interrupt_S.h".Michael I. Bushnell
1995-11-21(ports_S_interrupt_operation): Include seqno arg.Michael I. Bushnell
1995-11-21(ports_manage_port_operations_multithread): Actually, just useMichael I. Bushnell
hurd_thread_cancel and then begin the RPC normally.
1995-11-21(ports_manage_port_operations_multithread): Lock _ports_lock aroundMichael I. Bushnell
new critical section.
1995-11-21(ports_S_interrupt_operation): Set PI->cancel_threshhold if theMichael I. Bushnell
incoming seqno is greater than the current threshhold.
1995-11-21(ports_manage_port_operations_multithread/internal_demuxer): If theMichael I. Bushnell
incoming RPC has already been cancelled, then call cancel_rpc instead of the user's demuxer. (cancel_rpc): New function.
1995-11-21(ports_manage_port_operations_one_thread): Doc fix.Michael I. Bushnell
1995-11-21(ports_reallocate_from_external): Clear PI->cancel_threshhold.Michael I. Bushnell
1995-11-21(ports_reallocate_port): Clear PI->cancel_threshhold.Michael I. Bushnell
1995-11-21(ports_intern_external_port): Initialize PI->cancel_threshhold.Michael I. Bushnell
1995-11-21(ports_allocate_port): Initialize PI->cancel_threshhold.Michael I. Bushnell
1995-11-21(struct port_info): New member `cancel_threshhold'.Michael I. Bushnell
1995-11-18If calling thread is serving an RPC, don't block waiting for that RPC toRoland McGrath
finish.
1995-11-18(ports_inhibit_all_rpcs): Renamed from inhibit_all_rpcs.Roland McGrath
1995-10-24(ports_manage_port_operations_multithread/internal_demuxer): Don'tMichael I. Bushnell
attempt RPC if we can't get a valid port struct.
1995-10-24(ports_manage_port_operations_one_thread/internal_demuxer): Don'tMichael I. Bushnell
attempt RPC if we can't get a valid port struct.
1995-10-09(libports.so): Don't depend on libthreads.so.Roland McGrath
1995-10-09Specify shared library dependencies.Roland McGrath
1995-09-22Include hurd.h.Roland McGrath