libc/winsup/cygwin
Christopher Faylor 9dbe3289ee * cygthread.h (cygthread::avail): Make LONG for easier use with Interlocked*
functions.
* cygthread.cc (cygthread::init): Eliminate unneeded muto.
(cygthread::operator new): Don't lock.  Instead change use of avail variable
into tri-state: available (1), not available (-1), uninitialized (0).
(cygthread::terminate_thread): Set avail to uninitialized.
(cygthread::detach): Eliminate local 'avail'.  Always set avail to 1 unless
signalled.
* cygthread.cc (cygthread::operator new): Be more defensive when messing with
2003-04-04 18:52:11 +00:00
..
config/i386 Update copyrights. 2001-09-11 20:01:02 +00:00
include ChangeLog already commited yesterday: 2003-04-03 08:04:41 +00:00
lib * lib/getopt.c: Refresh from NetBSD sources. 2003-03-03 04:30:09 +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.h (cygthread::avail): Make LONG for easier use with Interlocked* 2003-04-04 18:52:11 +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
ChangeLog-2002 Split ChangeLog, create ChangeLog-2002. 2003-01-10 12:32:49 +00:00
Makefile.in * Makefile.in (EXTRA_OFILES): Remove debugging object. 2003-04-03 01:23:37 +00:00
ROADMAP
acconfig.h
ansi.sgml
assert.cc Cleanup calls to CreateFile throughout. 2002-09-19 15:12:48 +00:00
autoload.cc * autoload.cc: added RegGetKeySecurity() 2003-03-27 09:40:25 +00:00
automode.c
binmode.c
child_info.h * syscalls.cc (seteuid32): On Win95 get the pw entry. If it exists 2003-01-25 10:36:46 +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: Remove EXE_LDFLAGS. Fix fhandler_CFLAGS typo. Recognize .s 2003-03-29 04:20:45 +00:00
configure.in * Makefile.in: Remove EXE_LDFLAGS. Fix fhandler_CFLAGS typo. Recognize .s 2003-03-29 04:20:45 +00:00
cxx.cc * cxx.cc: New file. Implement new, new[], delete and delete[] 2002-12-04 20:36:23 +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: Change most 'int's to 'unsigned's. 2003-01-18 03:26:07 +00:00
cygheap.h * grp.cc (read_etc_group): On NT, add a line for gid = -1. Change name 2003-01-17 05:18:30 +00:00
cygmagic * child_info.h: Add _PROC_WHOOPS enum value. 2002-08-27 04:10:54 +00:00
cygmalloc.h * cygmalloc.h: Remove MORECORE_CANNOT_TRIM. It's not true. # cygwin.din: 2003-02-22 23:02:15 +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 Switch to 32/64 datatypes: 2003-03-09 21:51:00 +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.h (cygthread::avail): Make LONG for easier use with Interlocked* 2003-04-04 18:52:11 +00:00
cygthread.h * cygthread.h (cygthread::avail): Make LONG for easier use with Interlocked* 2003-04-04 18:52:11 +00:00
cygwin.din * cygwin.din: Add pthread_rwlock_destroy, pthread_rwlock_init, 2003-03-18 20:01:07 +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 * thread.h: Change class names, methods, members and local vars 2003-03-27 19:52:20 +00:00
debug.cc Change _function() to function() throughout. 2002-10-21 01:00:58 +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
devices.h * include/cygwin/in.h (sockaddr_in): Fix typo. 2003-02-13 15:15:32 +00:00
dir.cc * dir.cc: Change __off32_t to _off_t and __off64_t to _off64_t 2003-04-01 16:11:41 +00:00
dlfcn.cc * dlfcn.cc (dlerror): Only report load errors once per error. 2003-02-01 05:00:15 +00:00
dll_init.cc * dll_init.cc (dll_list::load_after_fork): Don't revert to LoadLibrary if 2003-03-02 18:37:17 +00:00
dll_init.h * dll_init.cc (dll_list::detach): Eliminate reliance on passed in dll address. 2002-11-14 04:29:39 +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 * dll_init.cc (dll_list::load_after_fork): Don't revert to LoadLibrary if 2003-03-02 18:37:17 +00:00
dtable.h * dll_init.cc (dll_list::load_after_fork): Don't revert to LoadLibrary if 2003-03-02 18:37:17 +00:00
dtable.sgml
environ.cc * include/cygwin/in.h (sockaddr_in): Fix typo. 2003-02-13 15:15:32 +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 * exceptions.cc (setup_handler): Make sure winapi lock is released when exiting 2003-03-31 21:27:06 +00:00
exec.cc Change _function() to function() throughout. 2002-10-21 01:00:58 +00:00
external.cc * external.cc (check_ntsec): Return general ntsec state on NULL 2003-04-03 08:18:43 +00:00
external.sgml
fcntl.cc Do some minor reformatting of 'extern "C"' use throughout. 2003-03-09 20:10:25 +00:00
fhandler.cc * fhandler.cc (fhandler_base::fstat): Set the uid and gid fields 2003-04-01 17:17:46 +00:00
fhandler.h * dir.cc: Change __off32_t to _off_t and __off64_t to _off64_t 2003-04-01 16:11:41 +00:00
fhandler_clipboard.cc * dir.cc: Change __off32_t to _off_t and __off64_t to _off64_t 2003-04-01 16:11:41 +00:00
fhandler_console.cc * external.cc (check_ntsec): New function. 2003-04-02 23:01:11 +00:00
fhandler_disk_file.cc * dir.cc: Change __off32_t to _off_t and __off64_t to _off64_t 2003-04-01 16:11:41 +00:00
fhandler_dsp.cc * dir.cc: Change __off32_t to _off_t and __off64_t to _off64_t 2003-04-01 16:11:41 +00:00
fhandler_floppy.cc * dir.cc: Change __off32_t to _off_t and __off64_t to _off64_t 2003-04-01 16:11:41 +00:00
fhandler_mem.cc * dir.cc: Change __off32_t to _off_t and __off64_t to _off64_t 2003-04-01 16:11:41 +00:00
fhandler_proc.cc * dir.cc: Change __off32_t to _off_t and __off64_t to _off64_t 2003-04-01 16:11:41 +00:00
fhandler_process.cc * dir.cc: Change __off32_t to _off_t and __off64_t to _off64_t 2003-04-01 16:11:41 +00:00
fhandler_random.cc * dir.cc: Change __off32_t to _off_t and __off64_t to _off64_t 2003-04-01 16:11:41 +00:00
fhandler_raw.cc Throughout, change fhandler_*::read and fhandler_*::raw_read to void functions 2002-12-14 04:01:32 +00:00
fhandler_registry.cc * dir.cc: Change __off32_t to _off_t and __off64_t to _off64_t 2003-04-01 16:11:41 +00:00
fhandler_serial.cc whitespace cleanup 2003-03-09 20:31:07 +00:00
fhandler_socket.cc * fhandler.cc (fhandler_base::fstat): Set the uid and gid fields 2003-04-01 17:17:46 +00:00
fhandler_tape.cc * dir.cc: Change __off32_t to _off_t and __off64_t to _off64_t 2003-04-01 16:11:41 +00:00
fhandler_termios.cc * dir.cc: Change __off32_t to _off_t and __off64_t to _off64_t 2003-04-01 16:11:41 +00:00
fhandler_tty.cc * syscalls.cc (rename): Assume that DELETE_ON_CLOSE works on Win9x. 2003-03-13 08:18:15 +00:00
fhandler_virtual.cc * dir.cc: Change __off32_t to _off_t and __off64_t to _off64_t 2003-04-01 16:11:41 +00:00
fhandler_windows.cc Eliminate most unneeded this-> pointers throughout. 2003-02-04 03:01:17 +00:00
fhandler_zero.cc * dir.cc: Change __off32_t to _off_t and __off64_t to _off64_t 2003-04-01 16:11:41 +00:00
fork.cc Joe Buehler <jhpb@draco.hekimian.com> 2003-03-26 04:18:01 +00:00
gcrt0.c Update copyrights. 2001-09-11 20:01:02 +00:00
glob.c * glob.c: Eliminate __INSIDE_CYGWIN__ preprocessor conditionals 2003-03-19 21:38:25 +00:00
gmon.c 2002-05-25 Robert Collins <rbtcollins@hotmail.com> 2002-05-24 14:24:33 +00:00
gmon.h
grp.cc * grp.cc (internal_getgroups): Handle properly tokens with 2003-02-18 10:09:37 +00:00
heap.cc * heap.cc (heap_init): Remove debugging code. 2003-02-07 04:13:41 +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 * environ.cc (environ_init): Avoid a compiler warning. 2002-09-30 02:51:22 +00:00
how-autoload-works.txt whitespace 2002-12-12 03:09:38 +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 2002-11-05 Thomas Pfaff <tpfaff@gmx.net> 2002-11-24 13:54:14 +00:00
ioctl.cc * ioctl.cc (ioctl): Always print ioctl results, even when it's a tty. 2002-11-14 02:15:23 +00:00
ipc.cc More GNUify non-GNU formatted functions calls throughout. 2002-09-23 00:31:31 +00:00
localtime.cc 2002-12-19 Pierre Humblet <pierre.humblet@ieee.org> 2002-12-20 03:40:00 +00:00
malloc.cc * include/cygwin/version.h: Bump DLL minor number. 2003-02-08 17:03:34 +00:00
malloc_wrapper.cc * cygmalloc.h: Remove MORECORE_CANNOT_TRIM. It's not true. # cygwin.din: 2003-02-22 23:02:15 +00:00
mcount.c
misc-std.sgml
miscfuncs.cc Split ChangeLog, create ChangeLog-2002. 2003-01-10 12:32:49 +00:00
mkvers.sh Add copyright stuff 2002-01-13 20:03:03 +00:00
mmap.cc * dir.cc: Change __off32_t to _off_t and __off64_t to _off64_t 2003-04-01 16:11:41 +00:00
msg.cc 2002-09-22 Conrad Scott <conrad.scott@dsl.pipex.com> 2002-09-22 12:04:15 +00:00
net.cc * net.cc (cygwin_rcmd): Use correct file descriptor in call to fdsock. 2003-03-13 11:31:24 +00:00
netdb.cc * netdb.cc: Remove strtok_r comment. 2002-12-14 16:59:59 +00:00
newsym * Makefile.in (VPATH): Add regex directory. 2001-12-20 02:55:11 +00:00
ntdll.h whitespace cleanup 2003-03-09 20:31:07 +00:00
ntea.cc Do some minor reformatting of 'extern "C"' use throughout. 2003-03-09 20:10:25 +00:00
passwd.cc * security.h: Introduce names UNKNOWN_UID and UNKNOWN_GID and delete 2003-02-06 14:01:54 +00:00
path.cc whitespace cleanup 2003-03-09 20:31:07 +00:00
path.h * path.h (PATH_LNK): New enum val. 2003-03-08 03:36:39 +00:00
path.sgml revert. 2001-06-01 01:45:53 +00:00
perprocess.h
perthread.h Eliminate most unneeded this-> pointers throughout. 2003-02-04 03:01:17 +00:00
pinfo.cc missed in last checkin 2003-03-08 19:22:08 +00:00
pinfo.h Revert below changes regarding _pinfo::cmdline. 2003-03-08 17:56:13 +00:00
pipe.cc * dir.cc: Change __off32_t to _off_t and __off64_t to _off64_t 2003-04-01 16:11:41 +00:00
poll.cc Do some minor reformatting of 'extern "C"' use throughout. 2003-03-09 20:10:25 +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
pseudo-reloc.cc * lib/pseudo-reloc.c: New file. 2002-12-09 22:49:12 +00:00
pthread.cc * thread.h: Change class names, methods, members and local vars 2003-03-27 19:52:20 +00:00
pwdgrp.h whitespace cleanup 2003-03-09 20:31:07 +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 * rmsym: Fix regular expression. 2003-03-09 17:13:46 +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 * miscfuncs.cc (low_priority_sleep): New function. Use throughout where code 2002-11-13 19:36:12 +00:00
sec_acl.cc * sec_acl.cc (setacl): Don't handle DELETE flag specially. 2003-03-10 16:25:48 +00:00
sec_helper.cc whitespace cleanup 2003-03-09 20:31:07 +00:00
security.cc * fhandler.cc (fhandler_base::fstat): Set the uid and gid fields 2003-04-01 17:17:46 +00:00
security.h whitespace cleanup 2003-03-09 20:31:07 +00:00
select.cc Do some minor reformatting of 'extern "C"' use throughout. 2003-03-09 20:10:25 +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 * shared.cc (shared_info::heap_chunk_size): Use correct variable when reading 2003-01-31 15:02:40 +00:00
shared.sgml
shared_info.h * cygheap.cc (cygheap_fixup_in_child): Use user_heap element in cygheap. 2002-10-22 16:18:55 +00:00
shm.cc Switch to 32/64 datatypes: 2003-03-09 21:51:00 +00:00
signal.cc * cygwin.din: Export nanosleep(). 2003-01-22 10:43:39 +00:00
sigproc.cc Joe Buehler <jhpb@draco.hekimian.com> 2003-03-26 04:18:01 +00:00
sigproc.h * sigproc.h (signal_fixup_after_exec): Eliminate argument in declaration. 2003-03-20 01:34:53 +00:00
smallprint.c * winver.rc: Add more words to copyright. 2002-06-13 17:28:11 +00:00
spawn.cc * spawn.cc (linebuf::~linebuf): Resurrect commented out (for debugging?) code. 2003-02-13 02:52:41 +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 Eliminate most unneeded this-> pointers throughout. 2003-02-04 03:01:17 +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
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 * dir.cc: Change __off32_t to _off_t and __off64_t to _off64_t 2003-04-01 16:11:41 +00:00
sysconf.cc Split ChangeLog, create ChangeLog-2002. 2003-01-10 12:32:49 +00:00
syslog.cc Do some minor reformatting of 'extern "C"' use throughout. 2003-03-09 20:10:25 +00:00
termios.cc * fhandler_serial.cc (fhandler_serial::open): Avoid extraneous setting of res. 2003-02-01 04:48:03 +00:00
textmode.c
thread.cc * thread.cc: Change 1==foo equations to foo==1 throughout. 2003-03-27 19:57:06 +00:00
thread.h * thread.h: Change class names, methods, members and local vars 2003-03-27 19:52:20 +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 Change _function() to function() throughout. 2002-10-21 01:00:58 +00:00
tty.cc Do some minor reformatting of 'extern "C"' use throughout. 2003-03-09 20:10:25 +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 * uinfo.cc (internal_getlogin): Only update user.groups.pgsid 2003-02-27 17:41:15 +00:00
uname.cc * autoload.cc: Fix copyright date. 2003-01-15 10:21:23 +00:00
wait.cc Do some minor reformatting of 'extern "C"' use throughout. 2003-03-09 20:10:25 +00:00
winbase.h * winbase.h: Turn on inline versions of Interlocked* by default. 2002-12-14 05:06:59 +00:00
wincap.cc * wincap.h (wincap): Remove unnecessary definition of 2003-02-20 15:58:55 +00:00
wincap.h * wincap.h (wincap): Remove unnecessary definition of 2003-02-20 15:58:55 +00:00
window.cc Split ChangeLog, create ChangeLog-2002. 2003-01-10 12:32:49 +00:00
winsup.h * dir.cc: Change __off32_t to _off_t and __off64_t to _off64_t 2003-04-01 16:11:41 +00:00
winver.rc * winver.rc: Change Copyright hint to inlcude 2003. 2003-03-09 22:13:06 +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