newlib-cygwin/winsup/cygwin/include
Christopher Faylor 478ea460eb * include/sys/strace.h: Define _STRACE_SPECIAL.
(strace_printf_wrap): Fix NOSTRACE definitions.
(strace_printf_wrap1): Fix NOSTRACE definitions.
(special_printf): Define.
* thread.cc: Perform minor syntax fix in a comment.  Rename
"is_good_initialzer*" to "is_initializer*" throughout.  Use pthread_printf
rather than debug_printf throughout.  Add extra pthread_printf debugging
throughout.
(pthread_mutex::_new_mutex): New constant value.
(pthread_mutex::_unlocked_mutex): Ditto.
(pthread_mutex::_destroyed_mutex): Ditto.
(pthread_mutex::no_owner): Define new function.
(pthread_mutex::can_be_unlocked): Detect no_owner situation.  Handle
PTHREAD_MUTEX_NORMAL as a special case.
(pthread::create_cancel_event): Use C++ boolean values.
(pthread::precreate): Use method to set mutex type.
(pthread_cond::pthread_cond): Ditto.
(pthread_rwlock::pthread_rwlock): Ditto.
(pthread_mutex::pthread_mutex): Set owner to _new_mutex initially.
(pthread_mutex::~pthread_mutex): Reset various elements to make it clearer if
they are incorrectly reused.
(pthread_mutex::lock): Add clarifying comment.
(pthread_mutex::unlock): Attempt to handle various mutex types correctly.  In
particular, reinstate ability to have one thread unlock another thread's mutex
if type == PTHREAD_MUTEX_NORMAL.
(semaphore::_fixup_after_fork): Avoid redundancy.
(pthread_mutex::_fixup_after_fork): Ditto.  Fix debugging statement.
(__pthread_cond_dowait): Accommodate changes to remove previously inexplicable
use can_be_unblocked() as a static function.
* thread.h: Rename "is_good_initialzer*" to "is_initializer*" throughout.
(pthread_mutex): Reorganize.  Make many things private.
(pthread_mutex::no_owner): Define new method.
(pthread_mutex::_new_mutex): Define new constant.
(pthread_mutex::_unlocked_mutex): Ditto.
(pthread_mutex::_destroyed_mutex): Ditto.
2010-02-22 20:36:04 +00:00
..
arpa
asm * include/asm/byteorder.h (__ntohl): Prototype before define to avoid 2009-04-04 15:49:05 +00:00
attr * fhandler_disk_file.cc (fhandler_disk_file::fgetxattr): Remove unused 2008-02-11 19:03:36 +00:00
bits * include/bits/wordsize.h: New linux-compatibility header. 2008-12-31 04:12:44 +00:00
cygwin * external.cc (cygwin_internal): Add CW_INT_SETLOCALE case to 2010-02-08 09:52:40 +00:00
machine
net
netinet
sys * include/sys/strace.h: Define _STRACE_SPECIAL. 2010-02-22 20:36:04 +00:00
a.out.h
byteswap.h
dlfcn.h
elf.h
endian.h
err.h
exceptions.h
fcntl.h * include/fcntl.h (O_TTY_INIT): Define as 0. 2010-01-13 16:51:37 +00:00
features.h
fnmatch.h
fts.h
ftw.h
getopt.h
glob.h * glob_pattern_p.cc: New file. 2008-12-31 21:33:34 +00:00
icmp.h
ifaddrs.h * autoload.cc (WSAIoctl): Remove. 2007-06-21 15:57:54 +00:00
inttypes.h * include/inttypes.h: Remove "l" size specifier from all 16 and 32 bit 2009-03-15 13:29:04 +00:00
io.h
lastlog.h
libgen.h
limits.h * include/limits.h (NGROUPS_MAX): Set to a more sane value. 2009-08-11 07:28:22 +00:00
mapi.h
memory.h
mntent.h * include/paths.h (_PATH_MNTTAB): Define. 2010-02-02 11:17:54 +00:00
monetary.h * Makefile.in (DLL_OFILES): Add nlsfunc.o and strfmon.o. 2010-01-22 22:31:31 +00:00
mqueue.h
netdb.h * include/netdb.h: #include <inttypes.h>, <netinet/in.h>, 2009-04-02 08:48:03 +00:00
paths.h * include/paths.h (_PATH_MNTTAB): Define. 2010-02-02 11:17:54 +00:00
poll.h
pthread.h
pty.h Make pty.h match recent glibc. 2009-12-26 06:20:56 +00:00
regex.h Replace regex files with multibyte-aware version from FreeBSD. 2010-02-04 12:35:49 +00:00
resolv.h * resolv.h: #include <netinet/in.h> for sockaddr_in typedef. 2008-12-09 16:09:46 +00:00
sched.h
search.h * include/search.h: Reinstate node_t definition. 2007-06-17 00:31:27 +00:00
semaphore.h
stdint.h * include/stdint.h (intptr_t): Remove long from type. 2009-04-13 22:55:00 +00:00
strings.h Perform whitespace cleanup throughout. 2008-02-15 17:53:11 +00:00
sysexits.h
syslog.h
termio.h
tzfile.h
utmpx.h
wait.h * include/wait.h: New file. 2008-04-24 08:46:41 +00:00