newlib/winsup/cygwin/include
Corinna Vinschen a1591d3be7 Drop old SetResourceLock stuff in favor of mutos.
* dcrt0.cc (_reslock): Remove.
	(__cygwin_user_data): Accommodate removal of resourcelocks member.
	(dll_crt0_0): Don't initialize resourcelocks.
	* exceptions.cc (_cygtls::signal_exit): Drop resourcelocks handling.
	* mmap.cc (mmap_guard): New muto.
	(LIST_LOCK): Define.
	(LIST_UNLOCK): Define.
	(mmap_list::search_record): Remove.
	(mmap_list::try_map): Include code for anonymous case from
	mmap_list::search_record.
	(mmap_is_attached_or_noreserve): Access bookkeeping lists in a thread
	safe way.
	(mmap64): Replace SetResourceLock/ReleaseResourceLock by
	LIST_LOCK/LIST_UNLOCK.  Lock at the latest possible point.
	(munmap): Replace SetResourceLock/ReleaseResourceLock by
	LIST_LOCK/LIST_UNLOCK.
	(msync): Ditto.
	(mprotect): Ditto.
	* thread.cc (ResourceLocks::Lock): Remove.
	(SetResourceLock): Remove.
	(ReleaseResourceLock): Remove.
	(ResourceLocks::Init): Remove.
	(ResourceLocks::Delete): Remove.
	* thread.h (SetResourceLock): Drop declaration.
	(ReleaseResourceLock): Ditto.
	(class ResourceLocks): Drop definition.
	* include/sys/cygwin.h (class ResourceLocks): Drop forward declaration.
	(struct per_process): Replace resourcelocks with additional unused2
	element.
	(per_process_overwrite): Accommodate above change.
2007-11-27 14:45:14 +00:00
..
arpa
asm * autoload.cc (GetIpForwardTable): Define. 2007-06-14 16:02:32 +00:00
cygwin * include/cygwin/config.h: Conditionalize inline __getreent() 2007-09-08 10:51:37 +00:00
machine
net
netinet
sys Drop old SetResourceLock stuff in favor of mutos. 2007-11-27 14:45:14 +00:00
a.out.h
byteswap.h
ctype.h
dlfcn.h
elf.h
endian.h
err.h
exceptions.h
fcntl.h
features.h
fnmatch.h
fts.h
ftw.h * include/ftw.h: Include sys/cdefs.h. 2007-01-28 11:27:05 +00:00
getopt.h
glob.h
icmp.h
ifaddrs.h * autoload.cc (WSAIoctl): Remove. 2007-06-21 15:57:54 +00:00
inttypes.h
io.h
lastlog.h
libgen.h
limits.h * path.cc (struct symlink_info): Change size of contents member to 2007-10-10 16:54:09 +00:00
mapi.h
memory.h
mntent.h
mqueue.h * posix_ipc.cc (mq_open): Avoid compiler warning. Initialize mqhdr 2007-02-15 17:49:25 +00:00
netdb.h * net.cc (ga_dup): New function, taken from ga_clone with v4-in-v6 2007-02-01 15:54:40 +00:00
paths.h
poll.h
pthread.h * cygmalloc.h (MALLOC_FAILURE_ACTION): Define empty. 2007-02-07 17:22:40 +00:00
pty.h
resolv.h
sched.h
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 (WINT_MIN): Fix sign. 2007-04-06 08:25:28 +00:00
strings.h
sysexits.h
syslog.h
termio.h
tzfile.h
utmpx.h