newlib/winsup/cygwin/include
Corinna Vinschen f00fe1b8e7 * cygwin.din (pthread_spin_destroy): Export.
(pthread_spin_init): Export.
	(pthread_spin_lock): Export.
	(pthread_spin_trylock): Export.
	(pthread_spin_unlock): Export.
	* posix.sgml (std-susv4): Add pthread_spin_destroy, pthread_spin_init,
	pthread_spin_lock, pthread_spin_trylock, pthread_spin_unlock.
	(std-notimpl): Remove pthread_spin_[...].
	* pthread.cc (pthread_spin_init): New function.
	* thread.cc (pthread_spinlock::is_good_object): New function.
	(pthread_mutex::pthread_mutex): Rearrange initializers to accommodate
	protected data in pthread_mutex.
	(pthread_spinlock::pthread_spinlock): New constructor.
	(pthread_spinlock::lock): New method.
	(pthread_spinlock::unlock): New method.
	(pthread_spinlock::init): New method.
	(pthread_spin_lock): New function.
	(pthread_spin_trylock): New function.
	(pthread_spin_unlock): New function.
	(pthread_spin_destroy): New function.
	* thread.h (PTHREAD_SPINLOCK_MAGIC): Define.
	(class pthread_mutex): Change access level of members shared with
	derived classes to protected.
	(pthread_mutex::set_shared): New protected method.
	(class pthread_spinlock): New class, derived class of pthread_mutex.
	* include/pthread.h (pthread_spin_destroy): Declare.
	(pthread_spin_init): Declare.
	(pthread_spin_lock): Declare.
	(pthread_spin_trylock): Declare.
	(pthread_spin_unlock): Declare.
	* include/cygwin/types.h (pthread_spinlock_t): New typedef.
	* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
2011-03-29 10:32:40 +00:00
..
arpa * include/endian.h: Move definitions of __BIG_ENDIAN, __LITTLE_ENDIAN, 2011-02-11 12:42:30 +00:00
asm * include/endian.h: Move definitions of __BIG_ENDIAN, __LITTLE_ENDIAN, 2011-02-11 12:42:30 +00:00
attr * fhandler_disk_file.cc (fhandler_disk_file::fgetxattr): Remove unused 2008-02-11 19:03:36 +00:00
bits * include/endian.h: Move definitions of __BIG_ENDIAN, __LITTLE_ENDIAN, 2011-02-11 12:42:30 +00:00
cygwin * cygwin.din (pthread_spin_destroy): Export. 2011-03-29 10:32:40 +00:00
machine
net
netinet * include/endian.h: Move definitions of __BIG_ENDIAN, __LITTLE_ENDIAN, 2011-02-11 12:42:30 +00:00
sys * include/sys/xattr.h: New file. 2011-03-29 08:03:35 +00:00
a.out.h
byteswap.h
dlfcn.h * include/dlfcn.h (RTLD_LOCAL): Define. 2010-08-09 07:48:24 +00:00
elf.h
endian.h * include/endian.h: Move definitions of __BIG_ENDIAN, __LITTLE_ENDIAN, 2011-02-11 12:42:30 +00:00
err.h * include/err.h: Fix loss of semicolons in previous patch. 2011-02-02 15:14:46 +00:00
exceptions.h
fcntl.h * include/fcntl.h (O_TTY_INIT): Define as 0. 2010-01-13 16:51:37 +00:00
features.h * include/features.h (__STDC_ISO_10646__): Move to newlib's 2011-01-27 11:55:51 +00:00
fenv.h winsup/cygwin/ChangeLog: 2010-09-11 06:53:28 +00:00
fnmatch.h
fts.h Remove all traces of __CYGWIN_USE_BIG_TYPES__. 2010-02-26 09:36:21 +00:00
ftw.h Remove all traces of __CYGWIN_USE_BIG_TYPES__. 2010-02-26 09:36:21 +00:00
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: Change PTR definitions to int to align with the 2010-05-26 13:37:48 +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 * posix_ipc.cc (mq_open): Avoid compiler warning. Initialize mqhdr 2007-02-15 17:49:25 +00:00
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_VARTMP): Define. 2010-11-02 17:38:36 +00:00
poll.h
pthread.h * cygwin.din (pthread_spin_destroy): Export. 2011-03-29 10:32:40 +00:00
pty.h Make pty.h match recent glibc. 2009-12-26 06:20:56 +00:00
regex.h * include/regex.h: Include _ansi.h to avoid missing out on preprocessor 2010-04-27 15:18:14 +00:00
resolv.h * resolv.h: #include <netinet/in.h> for sockaddr_in typedef. 2008-12-09 16:09:46 +00:00
search.h * include/search.h: Reinstate node_t definition. 2007-06-17 00:31:27 +00:00
semaphore.h * cygwin.din (sem_unlink): Export. 2007-02-20 15:48:04 +00:00
stdint.h * include/stdint.h (intptr_t): Remove long from type. 2009-04-13 22:55:00 +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