aboutsummaryrefslogtreecommitdiff
path: root/libports
Commit message (Collapse)AuthorAgeFilesLines
...
* Add obsolescence link warning.Roland McGrath1996-04-282-4/+14
|
* (ports_end_rpc): Acquire _PORTS_LOCK before calling _ports_remove_notified_rpc.Miles Bader1996-03-291-2/+3
|
* (ports_reallocate_port): Require port to have a current portMichael I. Bushnell1996-03-291-0/+2
| | | | right.
* (ports_reallocate_from_external): Require port to have a current portMichael I. Bushnell1996-03-291-0/+2
| | | | right.
* (_ports_complete_deallocate): Only drop port right if it isn't alreadyMichael I. Bushnell1996-03-291-5/+9
| | | | null.
* (ports_transfer_right):Michael I. Bushnell1996-03-291-4/+6
|
* (SRCS): Add transfer-right.c.Michael I. Bushnell1996-03-291-1/+1
|
* Initial revisionMichael I. Bushnell1996-03-291-0/+92
|
* (ports_claim_right): Doc fix.Michael I. Bushnell1996-03-291-1/+9
| | | | (ports_transfer_right): New function.
* (ports_manage_port_operations_one_thread): Fill in meaningfulMichael I. Bushnell1996-03-281-2/+6
| | | | statuses and errors rather than just zero.
* (ports_manage_port_operations_multithread): Fill in meaningfulMichael I. Bushnell1996-03-281-4/+32
| | | | statuses and errors rather than just zero.
* (ports_begin_rpc): Return EOPNOTSUPP, not EDIED, if receive right isMichael I. Bushnell1996-03-281-1/+1
| | | | gone.
* (ports_manage_port_operations_one_thread): Fill in default replyMichael I. Bushnell1996-03-281-2/+23
| | | | | | 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.
* (ports_claim_right): Hold lock until sendright frobbing is finished.Michael I. Bushnell1996-03-281-1/+1
|
* (ports_claim_right):Michael I. Bushnell1996-03-201-8/+17
|
* (ports_destroy_right): Don't do anything if port has already beenMichael I. Bushnell1996-03-201-13/+16
| | | | destroyed.
* (SRCS): Add `claim-right.c'.Michael I. Bushnell1996-03-201-1/+2
|
* Initial revisionMichael I. Bushnell1996-03-201-0/+40
|
* (ports_claim_right): New declaration.Michael I. Bushnell1996-03-201-0/+5
|
* (ports_get_right):Miles Bader1996-03-051-5/+10
| | | | Check mach_port_request_notification for error returns, against all odds.
* Initial revisionMiles Bader1996-03-051-0/+107
|
* (ports_interrupt_rpc_on_notification): Only set PN->prev_req_p if PN != 0.Miles Bader1996-02-261-1/+2
|
* (ports_interrupt_rpc_on_notification):Miles Bader1996-02-261-2/+3
| | | | Only set _PORTS_NOTIFICATIONS->prevp if _PORTS_NOTIFICATIONS != 0.
* (ports_interrupt_rpcs): Renamed from ports_interrupt_rpc.Miles Bader1996-01-271-2/+2
|
* (ports_S_interrupt_operation):Miles Bader1996-01-271-4/+4
| | | | | Use ports_interrupt_rpcs instead of ports_interrupt_rpc. Fix spelling of cancel_threshold (was cancel_threshhold).
* (SRCS):Miles Bader1996-01-271-3/+3
| | | | | Add default-uninhibitable-rpcs.c. Rename interrupt-rpc.c to interrupt-rpcs.c.
* (ports_reallocate_from_external):Miles Bader1996-01-271-2/+2
| | | | Fix spelling of cancel_threshold (was cancel_threshhold).
* (ports_reallocate_port):Miles Bader1996-01-271-2/+2
| | | | Fix spelling of cancel_threshold (was cancel_threshhold).
* (ports_no_senders): Use ports_interrupt_rpcs instead of ports_interrupt_rpc.Miles Bader1996-01-271-2/+2
|
* (ports_manage_port_operations_one_thread):Miles Bader1996-01-271-5/+3
| | | | Pass INP->msgh_id to ports_begin_rpc, and only call DEMUXER if it returns 0.
* (ports_manage_port_operations_multithread):Miles Bader1996-01-271-8/+15
| | | | Pass INP->msgh_id to ports_begin_rpc, and only call DEMUXER if it returns 0.
* (ports_intern_external_port): Call ports_import_port.Miles Bader1996-01-271-71/+6
|
* (ports_create_port, ports_import_ports): New declarations.Miles Bader1996-01-271-29/+60
| | | | | | | | | | | | | | | | | | | | | | (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.
* (ports_inhibit_class_rpcs):Miles Bader1996-01-271-19/+31
| | | | Be interruptable; return EINTR if interrupted, or EBUSY if already inhibited.
* (ports_inhibit_bucket_rpcs):Miles Bader1996-01-271-20/+34
| | | | Be interruptable; return EINTR if interrupted, or EBUSY if already inhibited.
* (ports_inhibit_all_rpcs):Miles Bader1996-01-271-22/+37
| | | | Be interruptable; return EINTR if interrupted, or EBUSY if already inhibited.
* (ports_create_class): Initialize the uninhibitable_rpcs field.Miles Bader1996-01-271-0/+1
|
* (ports_inhibit_port_rpcs):Miles Bader1996-01-271-16/+31
| | | | Be interruptable; return EINTR if interrupted, or EBUSY if already inhibited.
* (ports_begin_rpc):Miles Bader1996-01-271-37/+60
| | | | | | Be interruptable. Take new MSG_ID arg, and use it to see if the particular rpc shouldn't be inhibitable.
* (ports_allocate_port): Call ports_create_port.Miles Bader1996-01-271-56/+6
|
* (ports_no_senders):Miles Bader1996-01-191-4/+6
| | | | | Interrupt RPCs on PI too. Only do the ports_interrupt_notified_rpcs() if we're actually losing a ref.
* (ports_interrupt_rpc_on_notification): If PORT is dead or bogus, interruptMiles Bader1996-01-051-0/+11
| | | | RPC immediately, and don't add a new request.
* (ports_interrupt_rpc_on_notification): If NEW_REQ is not needed, put it onRoland McGrath1995-12-281-1/+4
| | | | the free list, don't call free on it.
* Gratuitous dithering.Miles Bader1995-12-281-1/+1
|
* (ports_interrupt_self_on_dead_port): New macro.Miles Bader1995-12-281-0/+4
|
* (ports_interrupt_notified_rpcs):Miles Bader1995-12-281-16/+19
| | | | Only bother to lock _PORTS_LOCK if there are notifications.
* (SRCS): Add interrupt-on-notify.c, interrupt-notified-rpcs.c, and dead-name.c.Miles Bader1995-12-271-1/+2
|
* (struct rpc_info): Add notifies field.Miles Bader1995-12-271-0/+56
| | | | | | | | | | | (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_dead_name): Call ports_dead_name().Miles Bader1995-12-271-1/+6
|
* (ports_no_senders): Interrupt any rpcs requesting such.Miles Bader1995-12-271-0/+3
|