newlib-cygwin/winsup/cygwin
Christopher Faylor ca713cfab3 * exceptions.cc (setup_handler): Signal event for any sigwaitinfo if it exists
to force signal to be handled.  Zero event here to prevent races.
* signal.cc (sigwaitinfo): Use local handle value for everything since signal
thread could zero event element at any time.  Detect when awaking due to thread
not in mask and set return value and errno accordingly.  Don't set signal
number to zero unless we've recognized the signal.
* sigproc.cc (sigq): Rename from sigqueue throughout.
* thread.cc (pthread::join): Handle signals received while waiting for thread
to terminate.
* cygwin.din: Export sighold, sigqueue.
* exceptions.cc (sighold): Define new function.
* signal.cc (handle_sigprocmask): Set correct errno for invalid signal.
Simplify debugging output.
(sigqueue): Define new function.
* include/cygwin/signal.h (sighold): Declare new function.
(sigqueue): Ditto.
* include/cygwin/version.h: Bump API minor version number.
* include/limits.h (TIMER_MAX): Define.
(_POSIX_TIMER_MAX): Ditto.
2004-02-26 05:10:49 +00:00
..
config/i386 * gendef (stabilize_sig_stack): New function. 2004-02-18 20:48:38 +00:00
include * exceptions.cc (setup_handler): Signal event for any sigwaitinfo if it exists 2004-02-26 05:10:49 +00:00
lib * cygwin.din: Make crt0 functions NOSIGFE. 2003-12-31 06:30:48 +00:00
libc * getopt.c: Avoid useless compiler warnings. 2004-02-20 23:31:47 +00:00
regex * regex/regex.h: Define regoff_t as _off_t. 2003-04-10 19:49:30 +00:00
regexp
CYGWIN_LICENSE
ChangeLog * exceptions.cc (setup_handler): Signal event for any sigwaitinfo if it exists 2004-02-26 05:10:49 +00:00
ChangeLog-1995
ChangeLog-1996
ChangeLog-1997
ChangeLog-1998
ChangeLog-1999
ChangeLog-2000
ChangeLog-2001
ChangeLog-2002 Split ChangeLog, create ChangeLog-2002. 2003-01-10 12:32:49 +00:00
ChangeLog-2003 fix typo 2004-01-20 03:11:39 +00:00
Makefile.in * Makefile.in (clean): Clean libserver, too. 2004-02-17 20:03:01 +00:00
ROADMAP
acconfig.h * exceptions.cc (set_signal_mask): Redefine to not pass by address. Report 2003-12-23 16:26:31 +00:00
ansi.sgml
assert.cc Cleanup calls to CreateFile throughout. 2002-09-19 15:12:48 +00:00
autoload.cc * debug.h (console_printf): Define for non-debugging condition. 2004-02-09 04:04:24 +00:00
automode.c
binmode.c
child_info.h * fhandler.h (*::fixup_after_exec): Eliminate unused handle argument. 2004-02-02 21:00:07 +00:00
config.h.in * exceptions.cc (set_signal_mask): Redefine to not pass by address. Report 2003-12-23 16:26:31 +00:00
configure * configure.in: Remove NEWVFORK default. 2004-01-23 23:05:33 +00:00
configure.in * configure.in: Remove NEWVFORK default. 2004-01-23 23:05:33 +00:00
cpuid.h * termios.cc (setspeed): New function. 2003-04-16 03:03:45 +00:00
crt0.c * Makefile.in: Rework to accommodate new speclib arguments. 2003-08-06 01:40:12 +00:00
cxx.cc * cxx.cc (new): Fix formatting. Just return result of ccalloc rather than 2003-09-04 03:01:35 +00:00
cygerrno.h * cygerrno.h (set_errno): Replace semicolon with comma in non-DEBUGGING 2004-02-02 10:47:29 +00:00
cygheap.cc * cygheap.cc (_csbrk): Report failing condition to stderr rather than strace. 2004-02-16 02:03:54 +00:00
cygheap.h Rename _threadinfo to _cygtls, throughout. 2004-02-12 03:01:58 +00:00
cygmagic * child_info.h: Add _PROC_WHOOPS enum value. 2002-08-27 04:10:54 +00:00
cygmalloc.h * debug.h (console_printf): Define for non-debugging condition. 2004-02-09 04:04:24 +00:00
cygserver.h * debug.h (console_printf): Define for non-debugging condition. 2004-02-09 04:04:24 +00:00
cygserver_ipc.h * debug.h (console_printf): Define for non-debugging condition. 2004-02-09 04:04:24 +00:00
cygserver_msg.h * cygserver.h (client_request::request_code_t): Add 2003-11-19 18:50:23 +00:00
cygserver_sem.h * cygserver.h (client_request::request_code_t): Add 2003-11-19 18:50:23 +00:00
cygserver_shm.h * cygserver.h (client_request::request_code_t): Add 2003-11-19 18:50:23 +00:00
cygthread.cc * debug.h (console_printf): Define for non-debugging condition. 2004-02-09 04:04:24 +00:00
cygthread.h * cygwin/include/signal.h: Add copyright notice. 2004-01-19 05:46:54 +00:00
cygtls.cc Rename _threadinfo to _cygtls, throughout. 2004-02-12 03:01:58 +00:00
cygtls.h * Makefile.in (clean): Remove sigfe.s. 2004-02-13 19:34:32 +00:00
cygwin-shilka * cygwin-shilka: Remove '#line directives' or suffer debugging oddities. Use 2003-09-27 05:35:02 +00:00
cygwin.din * exceptions.cc (setup_handler): Signal event for any sigwaitinfo if it exists 2004-02-26 05:10:49 +00:00
cygwin.sc * cygwin.sc: Add recent changes from ld sources. 2002-06-23 18:55:23 +00:00
cygwin_version.h
dcrt0.cc * dcrt0.cc (_dll_crt0): Don't check sync_startup if threadfunc_ix is set. 2004-02-25 01:19:13 +00:00
debug.cc * debug.h (console_printf): Define for non-debugging condition. 2004-02-09 04:04:24 +00:00
debug.h * debug.h (console_printf): Define for non-debugging condition. 2004-02-09 04:04:24 +00:00
delqueue.cc 2003-11-11 Robert Collins <rbtcollins@hotmail.com> 2003-11-14 23:40:06 +00:00
devices.cc * devices.in: Change raw com device to more correct form. 2004-01-21 19:14:19 +00:00
devices.h Substitute 0x7fffffff and 0xffffffff by INT32_MAX and UINT32_MAX 2003-12-03 16:35:52 +00:00
devices.in * devices.in: Change raw com device to more correct form. 2004-01-21 19:14:19 +00:00
dir.cc * dir.cc (mkdir): Use local security_descriptor. Call 2003-11-26 13:23:27 +00:00
dlfcn.cc * debug.h (console_printf): Define for non-debugging condition. 2004-02-09 04:04:24 +00:00
dll_init.cc * Makefile.in (clean): Remove sigfe.s. 2004-02-13 19:34:32 +00:00
dll_init.h 2003-11-11 Robert Collins <rbtcollins@hotmail.com> 2003-11-14 23:40:06 +00:00
dll_init.sgml 2004-01-12 Joshua Daniel Franklin <joshuadfranklin@yahoo.com> 2004-02-22 23:21:20 +00:00
dlmalloc.c * include/cygwin/version.h: Bump DLL minor number to 8. 2004-01-20 19:36:35 +00:00
dlmalloc.h * include/cygwin/version.h: Bump DLL minor number to 8. 2004-01-20 19:36:35 +00:00
dtable.cc * debug.h (console_printf): Define for non-debugging condition. 2004-02-09 04:04:24 +00:00
dtable.h * fhandler.h (*::fixup_after_exec): Eliminate unused handle argument. 2004-02-02 21:00:07 +00:00
dtable.sgml 2004-01-12 Joshua Daniel Franklin <joshuadfranklin@yahoo.com> 2004-02-22 23:21:20 +00:00
environ.cc 2003-11-11 Robert Collins <rbtcollins@hotmail.com> 2003-11-14 23:40:06 +00:00
environ.h 2003-11-11 Robert Collins <rbtcollins@hotmail.com> 2003-11-14 23:40:06 +00:00
errno.cc * exceptions.cc (set_signal_mask): Redefine to not pass by address. Report 2003-12-23 16:26:31 +00:00
exceptions.cc * exceptions.cc (setup_handler): Signal event for any sigwaitinfo if it exists 2004-02-26 05:10:49 +00:00
exec.cc * devices.cc: New file. 2003-09-25 00:37:18 +00:00
external.cc * dcrt0.cc (_dll_crt0): Don't check sync_startup if threadfunc_ix is set. 2004-02-25 01:19:13 +00:00
external.sgml 2004-01-12 Joshua Daniel Franklin <joshuadfranklin@yahoo.com> 2004-02-22 23:21:20 +00:00
fcntl.cc * fcntl.cc (fcntl_worker): Remove static storage class. 2003-12-03 09:55:42 +00:00
fhandler.cc * Makefile.in (clean): Clean libserver, too. 2004-02-17 20:03:01 +00:00
fhandler.h * debug.h (console_printf): Define for non-debugging condition. 2004-02-09 04:04:24 +00:00
fhandler_clipboard.cc * debug.h (console_printf): Define for non-debugging condition. 2004-02-09 04:04:24 +00:00
fhandler_console.cc * debug.h (console_printf): Define for non-debugging condition. 2004-02-09 04:04:24 +00:00
fhandler_disk_file.cc * debug.h (console_printf): Define for non-debugging condition. 2004-02-09 04:04:24 +00:00
fhandler_dsp.cc * debug.h (console_printf): Define for non-debugging condition. 2004-02-09 04:04:24 +00:00
fhandler_fifo.cc * debug.h (console_printf): Define for non-debugging condition. 2004-02-09 04:04:24 +00:00
fhandler_floppy.cc * debug.h (console_printf): Define for non-debugging condition. 2004-02-09 04:04:24 +00:00
fhandler_mem.cc * debug.h (console_printf): Define for non-debugging condition. 2004-02-09 04:04:24 +00:00
fhandler_nodevice.cc * debug.h (console_printf): Define for non-debugging condition. 2004-02-09 04:04:24 +00:00
fhandler_proc.cc * debug.h (console_printf): Define for non-debugging condition. 2004-02-09 04:04:24 +00:00
fhandler_process.cc * debug.h (console_printf): Define for non-debugging condition. 2004-02-09 04:04:24 +00:00
fhandler_random.cc * debug.h (console_printf): Define for non-debugging condition. 2004-02-09 04:04:24 +00:00
fhandler_raw.cc * debug.h (console_printf): Define for non-debugging condition. 2004-02-09 04:04:24 +00:00
fhandler_registry.cc * debug.h (console_printf): Define for non-debugging condition. 2004-02-09 04:04:24 +00:00
fhandler_serial.cc * debug.h (console_printf): Define for non-debugging condition. 2004-02-09 04:04:24 +00:00
fhandler_socket.cc * fhandler_socket.cc (fhandler_socket::ioctl): Add FIONREAD handling. 2004-02-09 11:30:57 +00:00
fhandler_tape.cc * debug.h (console_printf): Define for non-debugging condition. 2004-02-09 04:04:24 +00:00
fhandler_termios.cc * debug.h (console_printf): Define for non-debugging condition. 2004-02-09 04:04:24 +00:00
fhandler_tty.cc Throughout, change name from set_inheritance to set_no_inheritance to better 2004-02-02 20:33:09 +00:00
fhandler_virtual.cc * debug.h (console_printf): Define for non-debugging condition. 2004-02-09 04:04:24 +00:00
fhandler_windows.cc * debug.h (console_printf): Define for non-debugging condition. 2004-02-09 04:04:24 +00:00
fhandler_zero.cc * debug.h (console_printf): Define for non-debugging condition. 2004-02-09 04:04:24 +00:00
flock.cc * fcntl.cc (fcntl_worker): Remove static storage class. 2003-12-03 09:55:42 +00:00
fork.cc * fork.cc (fork_child): Invert sense of test which defeated correct handling in 2004-02-18 22:32:15 +00:00
gcrt0.c
gendef * gendef (stabilize_sig_stack): Correctly align this pointer for call to 2004-02-25 04:08:00 +00:00
gendevices * gendevices: Issue error when shilka is missing. 2003-11-28 21:20:15 +00:00
gentls_offsets * gendef (stabilize_sig_stack): Correctly align this pointer for call to 2004-02-25 04:08:00 +00:00
glob.c * glob.c: Eliminate __INSIDE_CYGWIN__ preprocessor conditionals 2003-03-19 21:38:25 +00:00
gmon.c
gmon.h
grp.cc * exceptions.cc (set_signal_mask): Redefine to not pass by address. Report 2003-12-23 16:26:31 +00:00
heap.cc * debug.h (console_printf): Define for non-debugging condition. 2004-02-09 04:04:24 +00:00
heap.h * cygheap.cc (cygheap_fixup_in_child): Use user_heap element in cygheap. 2002-10-22 16:18:55 +00:00
hires.h * exceptions.cc (set_signal_mask): Redefine to not pass by address. Report 2003-12-23 16:26:31 +00:00
how-autoload-works.txt whitespace 2002-12-12 03:09:38 +00:00
how-cygheap-works.txt
how-fhandlers-work.txt
how-signals-work.txt add out-of-date notice. 2003-12-15 04:44:30 +00:00
how-spawn-works.txt
how-to-debug-cygwin.txt add initial information 2002-07-13 21:15:10 +00:00
how-vfork-works.txt
init.cc * dcrt0.cc (_dll_crt0): Add some stern internal errors. 2004-02-24 17:13:16 +00:00
ioctl.cc Eliminate use of sigframe and sigthread throughout. 2003-11-28 20:55:59 +00:00
ipc.cc * exceptions.cc (ctrl_c_handler): Send SIGHUP when events occur only if there 2003-07-26 04:53:59 +00:00
localtime.cc * localtime.cc (localtime_r): Call tzset. 2004-02-08 19:59:27 +00:00
malloc.cc * Makefile.in (MALLOC_OFILES): Always fill in with correct malloc object. 2003-08-31 18:26:58 +00:00
malloc_wrapper.cc * debug.h (console_printf): Define for non-debugging condition. 2004-02-09 04:04:24 +00:00
mcount.c
misc-std.sgml
miscfuncs.cc * miscfuncs.cc (check_invalid_virtual_addr): New function. 2004-02-25 10:54:31 +00:00
mkvers.sh update copyright 2004-02-04 22:40:50 +00:00
mmap.cc * miscfuncs.cc (check_invalid_virtual_addr): New function. 2004-02-25 10:54:31 +00:00
msg.cc Eliminate use of sigframe and sigthread throughout. 2003-11-28 20:55:59 +00:00
net.cc * debug.h (console_printf): Define for non-debugging condition. 2004-02-09 04:04:24 +00:00
netdb.cc 2003-11-11 Robert Collins <rbtcollins@hotmail.com> 2003-11-14 23:40:06 +00:00
newsym * newsym: Reenable removal of tmp directory. Just use ar to generate archive 2003-07-07 05:30:33 +00:00
ntdll.h * cygwin.din: Export _fdopen64 2003-07-25 16:13:12 +00:00
ntea.cc Change use of BOOL, TRUE, FALSE to bool, true, false, as appropriate, 2003-12-07 22:37:12 +00:00
passwd.cc * exceptions.cc (set_signal_mask): Redefine to not pass by address. Report 2003-12-23 16:26:31 +00:00
path.cc * path.cc (conv_path_list): Return error condition. 2004-02-21 04:46:00 +00:00
path.h * Makefile.in (clean): Clean libserver, too. 2004-02-17 20:03:01 +00:00
path.sgml 2004-01-12 Joshua Daniel Franklin <joshuadfranklin@yahoo.com> 2004-02-22 23:21:20 +00:00
perprocess.h
perthread.h Rename _threadinfo to _cygtls, throughout. 2004-02-12 03:01:58 +00:00
pinfo.cc 2004-01-12 Joshua Daniel Franklin <joshuadfranklin@yahoo.com> 2004-02-22 23:21:20 +00:00
pinfo.h Rename _threadinfo to _cygtls, throughout. 2004-02-12 03:01:58 +00:00
pipe.cc * debug.h (console_printf): Define for non-debugging condition. 2004-02-09 04:04:24 +00:00
poll.cc Eliminate use of sigframe and sigthread throughout. 2003-11-28 20:55:59 +00:00
posix.sgml
profil.c * profil.h (PROFADDR): Prevent overflow when text segments are larger than 2003-04-28 20:10:54 +00:00
profil.h * profil.h (PROFADDR): Prevent overflow when text segments are larger than 2003-04-28 20:10:54 +00:00
pseudo-reloc.cc * lib/pseudo-reloc.c: New file. 2002-12-09 22:49:12 +00:00
pthread.cc 2003-11-11 Robert Collins <rbtcollins@hotmail.com> 2003-11-14 23:40:06 +00:00
pwdgrp.h * exceptions.cc (set_signal_mask): Redefine to not pass by address. Report 2003-12-23 16:26:31 +00:00
registry.cc 2003-11-11 Robert Collins <rbtcollins@hotmail.com> 2003-11-14 23:40:06 +00:00
registry.h
resource.cc * cygheap.cc (creturn): Set appropriate errno when out of memory. 2003-07-09 01:33:06 +00:00
rmsym * rmsym: Don't use ranlib. 2003-07-07 05:32:24 +00:00
scandir.cc Throughout, remove "include <errno.h>" from files which already include 2003-06-16 03:24:13 +00:00
sched.cc * Makefile.in: Add libusr32.a to DLL_IMPORTS. 2003-09-27 03:44:31 +00:00
sec_acl.cc * debug.h (console_printf): Define for non-debugging condition. 2004-02-09 04:04:24 +00:00
sec_helper.cc * debug.h (console_printf): Define for non-debugging condition. 2004-02-09 04:04:24 +00:00
security.cc * security.cc (get_nt_object_attribute): Fix error handling. 2004-02-11 17:54:34 +00:00
security.h * debug.h (console_printf): Define for non-debugging condition. 2004-02-09 04:04:24 +00:00
select.cc * debug.h (console_printf): Define for non-debugging condition. 2004-02-09 04:04:24 +00:00
select.h * debug.h (console_printf): Define for non-debugging condition. 2004-02-09 04:04:24 +00:00
sem.cc Eliminate use of sigframe and sigthread throughout. 2003-11-28 20:55:59 +00:00
shared.cc * cygheap.cc (cygheap_init): Set cygheap->shared_prefix. 2003-12-01 15:03:43 +00:00
shared.sgml 2004-01-12 Joshua Daniel Franklin <joshuadfranklin@yahoo.com> 2004-02-22 23:21:20 +00:00
shared_info.h * path.cc (conv_path_list): Return error condition. 2004-02-21 04:46:00 +00:00
shm.cc Eliminate use of sigframe and sigthread throughout. 2003-11-28 20:55:59 +00:00
signal.cc * exceptions.cc (setup_handler): Signal event for any sigwaitinfo if it exists 2004-02-26 05:10:49 +00:00
sigproc.cc * exceptions.cc (setup_handler): Signal event for any sigwaitinfo if it exists 2004-02-26 05:10:49 +00:00
sigproc.h Rename _threadinfo to _cygtls, throughout. 2004-02-12 03:01:58 +00:00
smallprint.c 2003-11-11 Robert Collins <rbtcollins@hotmail.com> 2003-11-14 23:40:06 +00:00
spawn.cc * Makefile.in (clean): Remove sigfe.s. 2004-02-13 19:34:32 +00:00
speclib * speclib: Use correct EOF marker. Ensure that directory is actually deleted 2003-11-28 20:51:11 +00:00
stackdump.sgml 2004-01-12 Joshua Daniel Franklin <joshuadfranklin@yahoo.com> 2004-02-22 23:21:20 +00:00
strace.cc Change use of BOOL, TRUE, FALSE to bool, true, false, as appropriate, 2003-12-07 22:37:12 +00:00
string.h whitespace cleanup 2003-03-09 20:31:07 +00:00
strsep.cc Do some minor reformatting of 'extern "C"' use throughout. 2003-03-09 20:10:25 +00:00
strsig.cc * Makefile.in (DLL_OFILES): Add strsig.o. 2004-02-03 21:59:27 +00:00
sync.cc Rename _threadinfo to _cygtls, throughout. 2004-02-12 03:01:58 +00:00
sync.h * debug.h (console_printf): Define for non-debugging condition. 2004-02-09 04:04:24 +00:00
syscalls.cc * Makefile.in (clean): Clean libserver, too. 2004-02-17 20:03:01 +00:00
sysconf.cc * debug.h (console_printf): Define for non-debugging condition. 2004-02-09 04:04:24 +00:00
syslog.cc * exceptions.cc (set_signal_mask): Redefine to not pass by address. Report 2003-12-23 16:26:31 +00:00
termios.cc Rename _threadinfo to _cygtls, throughout. 2004-02-12 03:01:58 +00:00
textmode.c
thread.cc * exceptions.cc (setup_handler): Signal event for any sigwaitinfo if it exists 2004-02-26 05:10:49 +00:00
thread.h * thread.cc (pthread::cancelable_wait): Rearrange slightly. 2004-02-24 11:33:15 +00:00
timer.cc * cygwin/include/signal.h: Add copyright notice. 2004-01-19 05:46:54 +00:00
times.cc * cygwin/include/signal.h: Add copyright notice. 2004-01-19 05:46:54 +00:00
tlsoffsets.h * gendef (stabilize_sig_stack): Correctly align this pointer for call to 2004-02-25 04:08:00 +00:00
tty.cc * fhandler.h (fhandler_tty_master::fixup_after_fork): Remove declaration. 2003-12-27 01:59:29 +00:00
tty.h * fhandler.h (fhandler_tty_master::fixup_after_fork): Remove declaration. 2003-12-27 01:59:29 +00:00
tz_posixrules.h
uinfo.cc * debug.h (console_printf): Define for non-debugging condition. 2004-02-09 04:04:24 +00:00
uname.cc * autoload.cc: Fix copyright date. 2003-01-15 10:21:23 +00:00
wait.cc Rename _threadinfo to _cygtls, throughout. 2004-02-12 03:01:58 +00:00
winbase.h * cygthread.cc (cygthread::stub): Properly establish _threadinfo environment. 2003-12-03 05:21:55 +00:00
wincap.cc * debug.h (console_printf): Define for non-debugging condition. 2004-02-09 04:04:24 +00:00
wincap.h * debug.h (console_printf): Define for non-debugging condition. 2004-02-09 04:04:24 +00:00
window.cc * debug.h (console_printf): Define for non-debugging condition. 2004-02-09 04:04:24 +00:00
winsup.h * miscfuncs.cc (check_invalid_virtual_addr): New function. 2004-02-25 10:54:31 +00:00
winver.rc * winver.rc: Change Copyright hint to inlcude 2003. 2003-03-09 22:13:06 +00:00
wsock_event.h