mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-23 21:40:12 +00:00
54da5be39c
* hurd/thread-cancel.c: New file. * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): In rpc_wait case, frob mach_msg args to set timeout on receive. (_hurdsig_rcv_interrupted_p): Function removed. * sysdeps/mach/hurd/alpha/trampoline.c: Likewise. * sysdeps/mach/hurd/hppa/trampoline.c: Likewise. * sysdeps/mach/hurd/mips/trampoline.c: Likewise. * hurd/intr-msg.c: New file. * hurd/hurd/signal.h (struct hurd_sigstate): New member `cancel'. (_hurdsig_rcv_interrupted_p): Declaration removed. (HURD_EINTR_RPC): Macro removed. (_hurd_longjmp_thread_state, _hurd_interrupted_rpc_timeout): Declare these. * hurd/intr-rpc.h: New file. * hurd/intr-rpc.defs: Just import intr-rpc.h. * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): New variable. (interrupted_reply_port_location): Take new flag arg; only catch faults if it's set. (abort_rpcs): Rename to _hurdsig_abort_rpcs; take same new flag arg. No longer use _hurdsig_rcv_interrupted_p; instead compare PC to &_hurd_intr_rpc_msg_in_trap. If before it, mutate state to simulate MACH_SEND_INTERRUPTED return; on it, interrupt the operation. All callers changed. * hurd/hurd.h (hurd_thread_cancel, hurd_check_cancel): Declare these. * hurd/Makefile (distribute): Remove intr-rpc.awk. (sig): Add thread-cancel. (transform-user-stub, transform-user-stub-output): Variables removed. * sysdeps/mach/hurd/dl-sysdep.c: Change all RPCs from `__hurd_intr_rpc_*' to `__*'. (_hurd_intr_rpc_mach_msg): New function. (_hurd_thread_sigstate): Function removed. * sysdeps/mach/hurd/ioctl.c: Use _hurd_intr_rpc_mach_msg function, instead of __mach_msg inside HURD_EINTR_RPC macro. * sysdeps/generic/morecore.c [__GNU_LIBRARY__]: Declare `__sbrk' to take ptrdiff_t arg. * sysdeps/mach/hurd/fork.c: Remove _hurd_longjmp_thread_state decl. * sysdeps/mach/hurd/kill.c (kill_pid): Don't make `inline'. * libc-symbols.h [GCC >= 2.7] (strong_alias, weak_symbol, weak_alias): Use `extern' storage class. |
||
---|---|---|
.. | ||
hurd | ||
.cvsignore | ||
alloc-fd.c | ||
catch-exc.c | ||
ctty-input.c | ||
ctty-output.c | ||
dtable.c | ||
fchroot.c | ||
fd-close.c | ||
fd-read.c | ||
fd-write.c | ||
fopenport.c | ||
getdport.c | ||
getuids.c | ||
getumask.c | ||
hurd-raise.c | ||
hurd.h | ||
hurdauth.c | ||
hurdexec.c | ||
hurdfault.c | ||
hurdfault.h | ||
hurdid.c | ||
hurdinit.c | ||
hurdinline.c | ||
hurdintr.awk | ||
hurdioctl.c | ||
hurdkill.c | ||
hurdlookup.c | ||
hurdmalloc.c | ||
hurdmalloc.h | ||
hurdmsg.c | ||
hurdpid.c | ||
hurdports.c | ||
hurdprio.c | ||
hurdrlimit.c | ||
hurdsig.c | ||
hurdsock.c | ||
hurdstartup.c | ||
hurdstartup.h | ||
intern-fd.c | ||
intr-msg.c | ||
intr-rpc.awk | ||
intr-rpc.defs | ||
intr-rpc.h | ||
invoke-trans.c | ||
Makefile | ||
msgportdemux.c | ||
msgstub.c | ||
new-fd.c | ||
Notes | ||
openport.c | ||
pid2task.c | ||
port2fd.c | ||
port-cleanup.c | ||
ports-get.c | ||
ports-set.c | ||
preempt-sig.c | ||
privports.c | ||
setauth.c | ||
setuids.c | ||
siginfo.c | ||
sigunwind.c | ||
STATUS | ||
task2pid.c | ||
thread-cancel.c | ||
thread-self.c | ||
vpprintf.c |