newlib/winsup/cygwin
Thomas Pfaff 00d296a3f9 * cygwin.din: Add pthread_rwlock_destroy, pthread_rwlock_init,
pthread_rwlock_rdlock, pthread_rwlock_tryrdlock,
pthread_rwlock_wrlock, pthread_rwlock_trywrlock,
pthread_rwlock_unlock, pthread_rwlockattr_init,
pthread_rwlockattr_getpshared, pthread_rwlockattr_setpshared,
and pthread_rwlockattr_destroy.
* include/cygwin/version.h: Bump API minor number.
* include/pthread.h (PTHREAD_RWLOCK_INITIALIZER): Define a
reasonable value.
Add prototypes for pthread_rwlock_destroy, pthread_rwlock_init,
pthread_rwlock_rdlock, pthread_rwlock_tryrdlock,
pthread_rwlock_wrlock, pthread_rwlock_trywrlock,
pthread_rwlock_unlock, pthread_rwlockattr_init,
pthread_rwlockattr_getpshared, pthread_rwlockattr_setpshared,
and pthread_rwlockattr_destroy.
* thread.h (PTHREAD_ONCE_MAGIC): Remove superflous semicolon.
(PTHREAD_RWLOCK_MAGIC): New define.
(PTHREAD_RWLOCKATTR_MAGIC): Ditto.
(pthread_rwlockattr): New class.
(pthread_rwlock): Ditto.
(MTinterface::rwlocks): New member.
(MTinterface::MTinterface): Initialize rwlocks.
Add prototypes for __pthread_rwlock_destroy,
__pthread_rwlock_wrlock, __pthread_rwlock_trywrlock,
__pthread_rwlock_unlock, __pthread_rwlockattr_init,
__pthread_rwlockattr_getpshared, __pthread_rwlockattr_setpshared,
and __pthread_rwlockattr_destroy.
* thread.cc (MTinterface::Init): Initialize rwlock internal mutex.
(MTinterface::fixup_after_fork): Fixup rwlocks after fork.
(pthread_rwlockattr::isGoodObject): Implement.
(pthread_rwlockattr::pthread_rwlockattr): Ditto.
(pthread_rwlockattr::~pthread_rwlockattr): Ditto.
(pthread_rwlock::initMutex): Ditto.
(pthread_rwlock::pthread_rwlock): Ditto.
(pthread_rwlock::~pthread_rwlock): Ditto.
(pthread_rwlock::RdLock): Ditto.
(pthread_rwlock::TryRdLock): Ditto.
(pthread_rwlock::WrLock): Ditto.
(pthread_rwlock::TryWrLock): Ditto.
(pthread_rwlock::UnLock): Ditto.
(pthread_rwlock::addReader): Ditto.
(pthread_rwlock::removeReader): Ditto.
(pthread_rwlock::lookupReader): Ditto.
(pthread_rwlock::RdLockCleanup): Ditto.
(pthread_rwlock::WrLockCleanup): Ditto.
(pthread_rwlock::fixup_after_fork): Ditto.
(pthread_rwlock::isGoodObject): Ditto.
(pthread_rwlock::isGoodInitializer): Ditto.
(pthread_rwlock::isGoodInitializerOrObject): Ditto.
(pthread_rwlock::isGoodInitializerOrBadObject): Ditto.
(__pthread_rwlock_destroy): Ditto.
(pthread_rwlock::init): Ditto.
(__pthread_rwlock_rdlock): Ditto.
(__pthread_rwlock_tryrdlock): Ditto.
(__pthread_rwlock_wrlock): Ditto.
(__pthread_rwlock_trywrlock): Ditto.
2003-03-18 20:01:07 +00:00
..
config/i386
include * cygwin.din: Add pthread_rwlock_destroy, pthread_rwlock_init, 2003-03-18 20:01:07 +00:00
lib * lib/getopt.c: Refresh from NetBSD sources. 2003-03-03 04:30:09 +00:00
libc
regex * environ.cc (environ_init): Avoid a compiler warning. 2002-09-30 02:51:22 +00:00
regexp
acconfig.h
ansi.sgml
assert.cc Cleanup calls to CreateFile throughout. 2002-09-19 15:12:48 +00:00
autoload.cc * autoload.cc (IsProcessorFeaturePresent): Add. 2003-03-13 22:53:16 +00:00
automode.c
binmode.c
ChangeLog * cygwin.din: Add pthread_rwlock_destroy, pthread_rwlock_init, 2003-03-18 20:01:07 +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
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
configure
configure.in * pwdrp.h (pwdgrp::refresh): Lock entire test prior to reading. 2003-01-24 03:53:46 +00:00
cxx.cc * cxx.cc: New file. Implement new, new[], delete and delete[] 2002-12-04 20:36:23 +00:00
cygerrno.h
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_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_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
cygserver_transport.cc 2002-09-22 Conrad Scott <conrad.scott@dsl.pipex.com> 2002-09-22 12:04:15 +00:00
cygserver.cc 2002-09-22 Conrad Scott <conrad.scott@dsl.pipex.com> 2002-09-22 12:04:15 +00:00
cygthread.cc * cygthread::detach: Improve error message. 2003-02-27 15:09:31 +00:00
cygthread.h Throughout, change fhandler_*::read and fhandler_*::raw_read to void functions 2002-12-14 04:01:32 +00:00
CYGWIN_LICENSE
cygwin_version.h
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
dcrt0.cc * cygwin.din: Wrap atexit and exit with cygwin, thread-safe functions. 2003-03-01 02:02:42 +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 More GNUify non-GNU formatted functions calls throughout. 2002-09-23 00:31:31 +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
dlmalloc.h
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 (try_to_debug): Don't reset priority when returning from 2003-02-14 02:52:29 +00:00
exec.cc Change _function() to function() throughout. 2002-10-21 01:00:58 +00:00
external.cc Revert below changes regarding _pinfo::cmdline. 2003-03-08 17:56:13 +00:00
external.sgml
fcntl.cc Do some minor reformatting of 'extern "C"' use throughout. 2003-03-09 20:10:25 +00:00
fhandler_clipboard.cc Throughout, change fhandler_*::read and fhandler_*::raw_read to void functions 2002-12-14 04:01:32 +00:00
fhandler_console.cc * cygwin.din: Export btowc, trunc. 2003-03-17 19:08:11 +00:00
fhandler_disk_file.cc whitespace cleanup 2003-03-09 20:31:07 +00:00
fhandler_dsp.cc * autoload.cc: Fix copyright date. 2003-01-15 10:21:23 +00:00
fhandler_floppy.cc * uinfo.cc (pwdgrp::load): Regularize strace output. Add warning for 2003-01-26 06:42:40 +00:00
fhandler_mem.cc Eliminate most unneeded this-> pointers throughout. 2003-02-04 03:01:17 +00:00
fhandler_proc.cc * fhandler_proc.cc (format_proc_cpuinfo): Use IsProcessorFeaturePresent 2003-03-18 09:30:03 +00:00
fhandler_process.cc Revert below changes regarding _pinfo::cmdline. 2003-03-08 17:56:13 +00:00
fhandler_random.cc Throughout, change fhandler_*::read and fhandler_*::raw_read to void functions 2002-12-14 04:01:32 +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 Eliminate most unneeded this-> pointers throughout. 2003-02-04 03:01:17 +00:00
fhandler_serial.cc whitespace cleanup 2003-03-09 20:31:07 +00:00
fhandler_socket.cc * fhandler_socket.cc (fhandler_socket::dup): Don't call 2003-03-11 16:49:58 +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 * spawn.cc (linebuf::~linebuf): Resurrect commented out (for debugging?) code. 2003-02-13 02:52: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 whitespace cleanup 2003-03-09 20:31:07 +00:00
fhandler_windows.cc Eliminate most unneeded this-> pointers throughout. 2003-02-04 03:01:17 +00:00
fhandler_zero.cc Throughout, change fhandler_*::read and fhandler_*::raw_read to void functions 2002-12-14 04:01:32 +00:00
fhandler.cc * fhandler.cc (fhandler_base::open): Move some filesystem specific stuff. 2003-02-21 04:33:53 +00:00
fhandler.h * external.cc (cygwin_internal): Change n to __off64_t to match change 2003-03-08 16:44:25 +00:00
fork.cc * cygthread.cc (cygthread::exiting): New variable. 2002-10-22 20:16:31 +00:00
gcrt0.c
glob.c * glob.c (g_lstat): Change API minor test to match API minor number 2003-03-17 20:44:10 +00:00
gmon.c
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
how-fhandlers-work.txt
how-signals-work.txt update 2002-08-03 23:34:01 +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 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
Makefile.in Switch to 32/64 datatypes: 2003-03-09 21:51:00 +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
malloc.cc * include/cygwin/version.h: Bump DLL minor number. 2003-02-08 17:03:34 +00:00
mcount.c
misc-std.sgml
miscfuncs.cc Split ChangeLog, create ChangeLog-2002. 2003-01-10 12:32:49 +00:00
mkvers.sh
mmap.cc whitespace cleanup 2003-03-09 20:31:07 +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
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
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 * malloc.cc (DEFAULT_MMAP_THRESHOLD): Set high to avoid mmaps. 2003-02-07 06:15:10 +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
profil.h
pseudo-reloc.cc * lib/pseudo-reloc.c: New file. 2002-12-09 22:49:12 +00:00
pthread.cc * cygwin.din: Add pthread_rwlock_destroy, pthread_rwlock_init, 2003-03-18 20:01:07 +00:00
pwdgrp.h whitespace cleanup 2003-03-09 20:31:07 +00:00
registry.cc
registry.h
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
ROADMAP
safe_memory.h 2002-09-22 Conrad Scott <conrad.scott@dsl.pipex.com> 2002-09-22 12:04:15 +00:00
scandir.cc
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 * sec_acl.cc (setacl): Don't handle DELETE flag specially. 2003-03-10 16:25:48 +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
sem.cc 2002-09-22 Conrad Scott <conrad.scott@dsl.pipex.com> 2002-09-22 12:04:15 +00:00
shared_info.h * cygheap.cc (cygheap_fixup_in_child): Use user_heap element in cygheap. 2002-10-22 16:18:55 +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
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 * cygwin.din: Export btowc, trunc. 2003-03-17 19:08:11 +00:00
sigproc.h * exceptions.cc (sigthread::get_winapi_lock): Just do standard 'give up 2002-11-22 04:43:47 +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
stackdump.sgml
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
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 * cygwin.din: Export btowc, trunc. 2003-03-17 19:08:11 +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 * cygwin.din: Add pthread_rwlock_destroy, pthread_rwlock_init, 2003-03-18 20:01:07 +00:00
thread.h * cygwin.din: Add pthread_rwlock_destroy, pthread_rwlock_init, 2003-03-18 20:01:07 +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
tz_posixrules.h
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 Switch to 32/64 datatypes: 2003-03-09 21:51:00 +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