newlib/winsup/cygwin
Christopher Faylor c4ec64d76b * cygthread.cc (cygthread::stub): Don't create an event for "cygself" threads.
Assume that they exit via an ExitThread call.
* cygthread.h (cygthread::SetThreadPriority): New function.
(cygthread::zap_h): New function.
* dcrt0.cc (do_exit): Move cygthread::terminate earlier and establish
exit_state guard.
* fhandler.h (fhandler_tty_master::output_thread): Delete.
* fhandler_tty.cc (fhandler_tty_master::init): Set priority for threads via
method.  Zap handles when done.  Don't treat process_output specially.
(process_output): Call ExitThread directly.
(fhandler_tty_master::fixup_after_fork): Don't worry about output_thread.
(fhandler_tty_master::fixup_after_exec): Ditto.
* sigproc.cc (proc_terminate): Don't detach from hwait_subproc.  Just let it
exit.
(sigproc_init): Close thread handle after initialization.
(wait_sig): Use GetCurrentThread() as SetThreadPriority call rather than
*event* handle.  Call ExitThread directly on termination.
(wait_subproc): Call ExitThread directly on termination.
* tty.cc (tty_list::terminate): Don't attempt t detach from output_thread.
2002-10-09 05:55:40 +00:00
..
config/i386 Update copyrights. 2001-09-11 20:01:02 +00:00
include 2002-09-22 Conrad Scott <conrad.scott@dsl.pipex.com> 2002-09-22 12:04:15 +00:00
lib * lib/_cygwin_S_IEXEC.cc: Remove obsolete file. 2002-06-24 02:08:41 +00:00
libc * Makefile.in: Add fnmatch.o to DLL_OFILES. 2002-01-17 10:39:37 +00:00
regex * environ.cc (environ_init): Avoid a compiler warning. 2002-09-30 02:51:22 +00:00
regexp Remove obsolete include. 2001-12-20 03:03:59 +00:00
CYGWIN_LICENSE Red Hatize 2001-10-12 01:51:21 +00:00
ChangeLog * cygthread.cc (cygthread::stub): Don't create an event for "cygself" threads. 2002-10-09 05:55:40 +00:00
ChangeLog-1995
ChangeLog-1996
ChangeLog-1997
ChangeLog-1998 fix spelling errors 2001-10-28 23:05:49 +00:00
ChangeLog-1999 fix spelling errors 2001-10-28 23:05:49 +00:00
ChangeLog-2000 fix spelling errors 2001-10-28 23:05:49 +00:00
ChangeLog-2001 restore missing entry 2002-01-01 16:49:52 +00:00
Makefile.in * fhandler_proc.cc (format_process_stat): make ctty a real device number. 2002-09-25 12:24:23 +00:00
ROADMAP
acconfig.h
ansi.sgml
assert.cc Cleanup calls to CreateFile throughout. 2002-09-19 15:12:48 +00:00
autoload.cc (inspired by a patch from Egor Duda) 2002-08-31 03:35:50 +00:00
automode.c * autoload.c (cygwin_premain0): Add missing parameter. 2001-03-06 12:05:45 +00:00
binmode.c * autoload.c (cygwin_premain0): Add missing parameter. 2001-03-06 12:05:45 +00:00
child_info.h * child_info.h: Add _PROC_WHOOPS enum value. 2002-08-27 04:10:54 +00:00
config.h.in * dlmalloc.c: New file. Port of Doug Lea's malloc 2001-04-24 15:25:31 +00:00
configure * Makefile.in (VPATH): Add regex directory. 2001-12-20 02:55:11 +00:00
configure.in * Makefile.in (VPATH): Add regex directory. 2001-12-20 02:55:11 +00:00
cygerrno.h * debug.cc (set_errno): Return value of errno that was set, just like the 2001-10-22 21:09:41 +00:00
cygheap.cc * cygheap.cc (dup_now): Make fatal error a little more informative. 2002-10-09 04:08:05 +00:00
cygheap.h * cygheap.cc (dup_now): Make fatal error a little more informative. 2002-10-09 04:08:05 +00:00
cygmagic * child_info.h: Add _PROC_WHOOPS enum value. 2002-08-27 04:10:54 +00:00
cygmalloc.h * cygmalloc.h (MORECORE_CANNOT_TRIM): Define. 2002-08-18 04:14:59 +00:00
cygrun.c * cygrun.c (main): Fix setting of CYGWIN environment variable. 2002-09-25 13:53:46 +00:00
cygserver.cc 2002-09-22 Conrad Scott <conrad.scott@dsl.pipex.com> 2002-09-22 12:04:15 +00:00
cygserver_client.cc 2002-09-22 Conrad Scott <conrad.scott@dsl.pipex.com> 2002-09-22 12:04:15 +00:00
cygserver_ipc.h 2002-09-22 Conrad Scott <conrad.scott@dsl.pipex.com> 2002-09-22 12:04:15 +00:00
cygserver_process.cc 2002-09-22 Conrad Scott <conrad.scott@dsl.pipex.com> 2002-09-22 12:04:15 +00:00
cygserver_shm.cc whitespace 2002-09-30 15:17:44 +00:00
cygserver_shm.h 2002-09-22 Conrad Scott <conrad.scott@dsl.pipex.com> 2002-09-22 12:04:15 +00:00
cygserver_transport.cc 2002-09-22 Conrad Scott <conrad.scott@dsl.pipex.com> 2002-09-22 12:04:15 +00:00
cygserver_transport_pipes.cc * cygserver_transport_pipes.cc (transport_layer_pipes::accept): 2002-09-30 18:31:56 +00:00
cygserver_transport_sockets.cc 2002-09-22 Conrad Scott <conrad.scott@dsl.pipex.com> 2002-09-22 12:04:15 +00:00
cygthread.cc * cygthread.cc (cygthread::stub): Don't create an event for "cygself" threads. 2002-10-09 05:55:40 +00:00
cygthread.h * cygthread.cc (cygthread::stub): Don't create an event for "cygself" threads. 2002-10-09 05:55:40 +00:00
cygwin.din * cygwin.din: Revert exporting new wchar functions. 2002-09-03 12:26:51 +00:00
cygwin.sc * cygwin.sc: Add recent changes from ld sources. 2002-06-23 18:55:23 +00:00
cygwin_version.h Update copyrights. 2001-09-11 20:01:02 +00:00
dcrt0.cc * cygthread.cc (cygthread::stub): Don't create an event for "cygself" threads. 2002-10-09 05:55:40 +00:00
debug.cc * debug.h (handle_list::allocated): Remove field. 2002-08-06 03:40:40 +00:00
debug.h * debug.h (handle_list::allocated): Remove field. 2002-08-06 03:40:40 +00:00
delqueue.cc More GNUify non-GNU formatted functions calls throughout. 2002-09-23 00:31:31 +00:00
dir.cc More GNUify non-GNU formatted functions calls throughout. 2002-09-23 00:31:31 +00:00
dlfcn.cc * cygheap.h (cygheap_fdmanip::cygheap_fdmanip): Clear fh. 2001-10-31 00:55:32 +00:00
dll_init.cc Remove \n from calls to strace class printfs throughout. 2002-09-30 04:35:18 +00:00
dll_init.h revert patch 2002-04-19 14:42:20 +00:00
dll_init.sgml
dlmalloc.c * cygheap.cc (cfree): Remove malloc debugging probe. 2001-10-03 03:49:26 +00:00
dlmalloc.h * dlmalloc.c: New file. Port of Doug Lea's malloc 2001-04-24 15:25:31 +00:00
dtable.cc * dtable.cc (dtable::init_std_file_from_handle): Try to mimic standard open 2002-10-08 02:44:35 +00:00
dtable.h * dtable.cc (dtable::build_fhandler_from_name): Just pass posix path along to 2002-05-24 05:44:10 +00:00
dtable.sgml
environ.cc * security.cc (allow_ntsec): Default to zero. 2002-09-30 03:05:13 +00:00
environ.h * cygheap.h (cygheap_user): Reorg to accommodate environment caching. 2002-06-29 02:36:08 +00:00
errno.cc * errno.cc (errmap): Map ERROR_INVALID_ADDRESS to new errno code 2002-09-24 14:17:50 +00:00
exceptions.cc * cygthread.cc (cygthread::stub): Very minor cleanup. 2002-10-06 01:01:58 +00:00
exec.cc * Makefile.in: Ensure that -MD gets added to CFLAGS regardless of CFLAGS 2002-06-11 02:08:00 +00:00
external.cc * Makefile.in (DLL_OFILES): Add cygthread.o. 2002-08-01 16:20:31 +00:00
external.sgml
fcntl.cc * dtable.cc (handle_to_fn): Attempt to handle "raw" accesses to remote shares. 2002-06-05 04:01:43 +00:00
fhandler.cc More GNUify non-GNU formatted functions calls throughout. 2002-09-23 00:31:31 +00:00
fhandler.h * cygthread.cc (cygthread::stub): Don't create an event for "cygself" threads. 2002-10-09 05:55:40 +00:00
fhandler_clipboard.cc Remove \n from calls to strace class printfs throughout. 2002-09-30 04:35:18 +00:00
fhandler_console.cc * cygheap.cc (dup_now): Make fatal error a little more informative. 2002-10-09 04:08:05 +00:00
fhandler_disk_file.cc * fhandler.cc (fhandler_base::dup): Don't set handle on failure. Caller has 2002-09-22 03:38:57 +00:00
fhandler_dsp.cc Remove \n from calls to strace class printfs throughout. 2002-09-30 04:35:18 +00:00
fhandler_floppy.cc * fhandler.cc (fhandler_base::dup): Don't set handle on failure. Caller has 2002-09-22 03:38:57 +00:00
fhandler_mem.cc More GNUify non-GNU formatted functions calls throughout. 2002-09-23 00:31:31 +00:00
fhandler_proc.cc whitespace 2002-09-30 15:17:44 +00:00
fhandler_process.cc * fhandler_proc.cc (format_process_stat): make ctty a real device number. 2002-09-25 12:24:23 +00:00
fhandler_random.cc * fhandler.cc (fhandler_base::dup): Don't set handle on failure. Caller has 2002-09-22 03:38:57 +00:00
fhandler_raw.cc * fhandler.cc (fhandler_base::dup): Don't set handle on failure. Caller has 2002-09-22 03:38:57 +00:00
fhandler_registry.cc * fhandler_registry.cc (fhandler_registry::close): Return any error result to 2002-07-26 19:58:00 +00:00
fhandler_serial.cc Remove \n from calls to strace class printfs throughout. 2002-09-30 04:35:18 +00:00
fhandler_socket.cc whitespace 2002-09-30 15:17:44 +00:00
fhandler_tape.cc Remove \n from calls to strace class printfs throughout. 2002-09-30 04:35:18 +00:00
fhandler_termios.cc More GNUify non-GNU formatted functions calls throughout. 2002-09-23 00:31:31 +00:00
fhandler_tty.cc * cygthread.cc (cygthread::stub): Don't create an event for "cygself" threads. 2002-10-09 05:55:40 +00:00
fhandler_virtual.cc * cygthread.cc (cygthread::initialized): Avoid copying on fork or some threads 2002-09-19 03:30:20 +00:00
fhandler_windows.cc * fhandler_clipboard.c (fhandler_dev_clipboard::open): Force text mode. 2002-07-01 19:03:26 +00:00
fhandler_zero.cc * fhandler.cc (fhandler_base::dup): Don't set handle on failure. Caller has 2002-09-22 03:38:57 +00:00
fork.cc * cygheap.cc (dup_now): Make fatal error a little more informative. 2002-10-09 04:08:05 +00:00
gcrt0.c Update copyrights. 2001-09-11 20:01:02 +00:00
glob.c * fhandler.cc (fhandler_base::fstat): Initialise tv_nsec member of 2002-06-06 15:35:09 +00:00
gmon.c 2002-05-25 Robert Collins <rbtcollins@hotmail.com> 2002-05-24 14:24:33 +00:00
gmon.h
grp.cc whitespace 2002-09-30 15:17:44 +00:00
heap.cc * fhandler.cc (fhandler_base::dup): Don't set handle on failure. Caller has 2002-09-22 03:38:57 +00:00
heap.h * heap.h (inheap): Check for NULL. 2001-10-05 04:36:14 +00:00
hires.h * environ.cc (environ_init): Avoid a compiler warning. 2002-09-30 02:51:22 +00:00
how-autoload-works.txt some edits 2002-09-04 15:17:24 +00:00
how-cygheap-works.txt fix spelling errors 2001-10-28 23:05:49 +00:00
how-fhandlers-work.txt . 2002-05-04 04:30:57 +00:00
how-signals-work.txt update 2002-08-03 23:34:01 +00:00
how-spawn-works.txt new how-to. 2002-02-11 02:25:42 +00:00
how-to-debug-cygwin.txt add initial information 2002-07-13 21:15:10 +00:00
how-vfork-works.txt * fhandler.h (fhandler_pipe::hit_eof): New method. 2001-09-24 21:50:44 +00:00
init.cc * dcrt0.cc (do_exit): Call DisableThreadLibraryCalls since we don't need to 2002-10-07 04:12:54 +00:00
ioctl.cc Remove \n from calls to strace class printfs throughout. 2002-09-30 04:35:18 +00:00
ipc.cc More GNUify non-GNU formatted functions calls throughout. 2002-09-23 00:31:31 +00:00
localtime.cc More GNUify non-GNU formatted functions calls throughout. 2002-09-23 00:31:31 +00:00
malloc.cc * malloc.cc: Protect some definitions to avoid a compile time warning. 2002-08-28 16:08:09 +00:00
malloc_wrapper.cc More GNUify non-GNU formatted functions calls throughout. 2002-09-23 00:31:31 +00:00
mcount.c
misc-std.sgml
miscfuncs.cc * miscfuncs.cc (check_iovec_for_read): Don't check buffer when zero length 2002-08-30 15:47:10 +00:00
mkvers.sh Add copyright stuff 2002-01-13 20:03:03 +00:00
mmap.cc * errno.cc (errmap): Map ERROR_INVALID_ADDRESS to new errno code 2002-09-24 14:17:50 +00:00
msg.cc 2002-09-22 Conrad Scott <conrad.scott@dsl.pipex.com> 2002-09-22 12:04:15 +00:00
net.cc Remove \n from calls to strace class printfs throughout. 2002-09-30 04:35:18 +00:00
newsym * Makefile.in (VPATH): Add regex directory. 2001-12-20 02:55:11 +00:00
ntdll.h * ntdll.h (_SYSTEM_PROCESSOR_TIMES): Force eight byte alignment. 2002-07-05 21:58:49 +00:00
ntea.cc Cleanup calls to CreateFile throughout. 2002-09-19 15:12:48 +00:00
passwd.cc whitespace 2002-09-30 15:17:44 +00:00
path.cc Remove \n from calls to strace class printfs throughout. 2002-09-30 04:35:18 +00:00
path.h * environ.cc (environ_init): Avoid a compiler warning. 2002-09-30 02:51:22 +00:00
path.sgml revert. 2001-06-01 01:45:53 +00:00
perprocess.h * dlopen.c (dlopen): Return NULL when name is NULL (suggested by 2001-03-05 06:28:25 +00:00
perthread.h * perthread.h (vfork_save): Add ctty, sid, pgid, exitval fields. 2002-08-18 05:49:26 +00:00
pinfo.cc * fhandler.cc (fhandler_base::dup): Don't set handle on failure. Caller has 2002-09-22 03:38:57 +00:00
pinfo.h * pinfo.h (pinfo::remember): Arrange for destructor call if proc_subproc 2002-08-19 14:59:27 +00:00
pipe.cc * dcrt0.cc (dll_crt0_1): Move debug_fixup_after_fork_exec. 2002-07-30 01:31:51 +00:00
poll.cc * fhandler.cc (fhandler_base::dup): Don't set handle on failure. Caller has 2002-09-22 03:38:57 +00:00
posix.sgml
profil.c Update copyrights. 2001-09-11 20:01:02 +00:00
profil.h Update copyrights. 2001-09-11 20:01:02 +00:00
pthread.cc 2002-09-30 Robert Collins <rbtcollins@hotmail.com> 2002-09-29 23:47:45 +00:00
pwdgrp.h * pwdgrp.h (pwdgrp_read::pwdgrp_read): Remove. 2002-08-19 11:27:18 +00:00
registry.cc * dtable.cc (handle_to_fn): Attempt to handle "raw" accesses to remote shares. 2002-06-05 04:01:43 +00:00
registry.h Update copyrights. 2001-09-11 20:01:02 +00:00
resource.cc * dtable.cc (unknown_file): New variable. 2002-10-07 20:06:16 +00:00
rmsym * Makefile.in (VPATH): Add regex directory. 2001-12-20 02:55:11 +00:00
safe_memory.h 2002-09-22 Conrad Scott <conrad.scott@dsl.pipex.com> 2002-09-22 12:04:15 +00:00
scandir.cc * lib/getopt.c: Use __progname==__argv[0] when not compiling for cygwin. 2001-09-19 15:54:12 +00:00
sched.cc More GNUify non-GNU formatted functions calls throughout. 2002-09-23 00:31:31 +00:00
sec_acl.cc * fhandler.cc (fhandler_base::dup): Don't set handle on failure. Caller has 2002-09-22 03:38:57 +00:00
sec_helper.cc * fhandler.cc (fhandler_base::dup): Don't set handle on failure. Caller has 2002-09-22 03:38:57 +00:00
security.cc Remove \n from calls to strace class printfs throughout. 2002-09-30 04:35:18 +00:00
security.h * grp.cc (initgroups): Call groups::clear_supp to free the 2002-09-11 10:37:11 +00:00
select.cc whitespace 2002-09-30 15:17:44 +00:00
select.h Update copyrights. 2001-09-11 20:01:02 +00:00
sem.cc 2002-09-22 Conrad Scott <conrad.scott@dsl.pipex.com> 2002-09-22 12:04:15 +00:00
shared.cc Cleanup calls to CreateFile throughout. 2002-09-19 15:12:48 +00:00
shared.sgml
shared_info.h * child_info.h: Add _PROC_WHOOPS enum value. 2002-08-27 04:10:54 +00:00
shm.cc 2002-09-22 Conrad Scott <conrad.scott@dsl.pipex.com> 2002-09-22 12:04:15 +00:00
signal.cc More GNUify non-GNU formatted functions calls throughout. 2002-09-23 00:31:31 +00:00
sigproc.cc * cygthread.cc (cygthread::stub): Don't create an event for "cygself" threads. 2002-10-09 05:55:40 +00:00
sigproc.h * sigproc.cc (sigCONT): Define. 2002-08-18 04:13:57 +00:00
smallprint.c * winver.rc: Add more words to copyright. 2002-06-13 17:28:11 +00:00
spawn.cc * cygheap.cc (dup_now): Make fatal error a little more informative. 2002-10-09 04:08:05 +00:00
speclib * speclib: Ensure that temporary def file is removed. 2002-01-24 21:39:09 +00:00
stackdump.sgml new description for old api. 2002-04-04 05:28:49 +00:00
strace.cc More GNUify non-GNU formatted functions calls throughout. 2002-09-23 00:31:31 +00:00
string.h * string.h (cygwin_strchr): Make 'static inline' so that things will still work 2001-05-06 16:00:23 +00:00
strsep.cc
sync.cc * dtable.cc (handle_to_fn): Attempt to handle "raw" accesses to remote shares. 2002-06-05 04:01:43 +00:00
sync.h * Makefile.in: Add support for new malloc.o and renamed malloc_wrapper.o. Use 2002-08-16 19:41:39 +00:00
syscalls.cc Remove \n from calls to strace class printfs throughout. 2002-09-30 04:35:18 +00:00
sysconf.cc * fhandler.cc (fhandler_base::dup): Don't set handle on failure. Caller has 2002-09-22 03:38:57 +00:00
syslog.cc * fhandler.cc (fhandler_base::dup): Don't set handle on failure. Caller has 2002-09-22 03:38:57 +00:00
termios.cc * fhandler.cc (fhandler_base::dup): Don't set handle on failure. Caller has 2002-09-22 03:38:57 +00:00
textmode.c * autoload.c (cygwin_premain0): Add missing parameter. 2001-03-06 12:05:45 +00:00
thread.cc whitespace 2002-10-05 17:47:25 +00:00
thread.h 2002-09-30 Robert Collins <rbtcollins@hotmail.com> 2002-09-30 11:43:43 +00:00
threaded_queue.cc 2002-09-22 Conrad Scott <conrad.scott@dsl.pipex.com> 2002-09-22 12:04:15 +00:00
threaded_queue.h 2002-09-22 Conrad Scott <conrad.scott@dsl.pipex.com> 2002-09-22 12:04:15 +00:00
times.cc Remove \n from calls to strace class printfs throughout. 2002-09-30 04:35:18 +00:00
tty.cc * cygthread.cc (cygthread::stub): Don't create an event for "cygself" threads. 2002-10-09 05:55:40 +00:00
tty.h Update copyright. 2002-03-05 18:03:32 +00:00
tz_posixrules.h Move appropriate variables to NO_COPY segment, throughout. 2001-09-06 05:17:22 +00:00
uinfo.cc Remove \n from calls to strace class printfs throughout. 2002-09-30 04:35:18 +00:00
uname.cc * dtable.cc (handle_to_fn): Attempt to handle "raw" accesses to remote shares. 2002-06-05 04:01:43 +00:00
wait.cc * dtable.cc (handle_to_fn): Attempt to handle "raw" accesses to remote shares. 2002-06-05 04:01:43 +00:00
winbase.h * cygwin.sc: Add recent changes from ld sources. 2002-06-23 18:55:23 +00:00
wincap.cc * fhandler.cc (fhandler_base::dup): Don't set handle on failure. Caller has 2002-09-22 03:38:57 +00:00
wincap.h * fhandler_serial.cc: Change 'must_init_serial_line capability' 2002-07-24 11:01:37 +00:00
window.cc More GNUify non-GNU formatted functions calls throughout. 2002-09-23 00:31:31 +00:00
winsup.h * environ.cc (environ_init): Avoid a compiler warning. 2002-09-30 02:51:22 +00:00
winver.rc * winver.rc: Add more words to copyright. 2002-06-13 17:28:11 +00:00
woutsup.h 2002-09-22 Conrad Scott <conrad.scott@dsl.pipex.com> 2002-09-22 12:04:15 +00:00
wsock_event.h * dtable.cc (dtable::dup2): Revert previous patch. 2002-02-09 10:40:48 +00:00