newlib/winsup/cygwin/include/sys
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
..
acl.h
copying.dj
cygwin.h Drop old SetResourceLock stuff in favor of mutos. 2007-11-27 14:45:14 +00:00
dirent.h * cygwin.din: Export fdopendir. 2007-06-29 15:13:01 +00:00
elf32.h * include/sys/cdefs.h (__CONCAT): Define. 2005-08-08 15:00:39 +00:00
elf64.h * include/sys/elf64.h: Fix types to reflect linux usage. 2005-11-14 20:34:33 +00:00
elf_common.h white space 2005-08-12 02:39:13 +00:00
elf_generic.h * include/sys/cdefs.h (__CONCAT): Define. 2005-08-08 15:00:39 +00:00
file.h
ioctl.h * include/sys/ioctl.h: Pick up termios.h, for TIOCGWINSZ. 2006-12-06 14:08:08 +00:00
ipc.h
kd.h * fhandler.h (class dev_console): Add `metabit' indicating the 2006-07-03 15:29:10 +00:00
lock.h
mman.h * cygwin.din (shm_open): Export. 2007-02-08 13:36:53 +00:00
mount.h * cygtls.cc (_cygtls::remove): Eliminate compiler warning. 2005-05-13 03:21:39 +00:00
msg.h
mtio.h
param.h * include/sys/param.h (MAXPATHLEN): Define as PATH_MAX. 2007-10-18 10:42:43 +00:00
poll.h * fhandler_socket.cc (fhandler_socket::recv_internal): Fix a problem 2006-07-31 14:27:56 +00:00
procfs.h
queue.h * Makefile.in (DLL_OFILES): Add xsique.o. 2007-06-12 15:24:46 +00:00
resource.h
select.h
sem.h
shm.h
smallprint.h
socket.h 2006-07-25 Corinna Vinschen <corinna@vinschen.de> 2006-07-25 19:23:23 +00:00
soundcard.h
statfs.h
statvfs.h
stdio.h * include/sys/stdio.h (_flockfile): Don't try to lock a FILE 2007-09-06 18:47:44 +00:00
strace.h *** cygwin DLL Changes: 2005-12-29 20:46:34 +00:00
syslimits.h * fhandler.cc (check_posix_perm): Moved here from syscalls.cc. 2006-11-07 17:59:54 +00:00
syslog.h
sysmacros.h
sysproto.h
termio.h
termios.h * cygmalloc.h (MALLOC_FAILURE_ACTION): Define empty. 2007-02-07 17:22:40 +00:00
ttychars.h
uio.h
un.h * include/cygwin/in.h: Drop including stdint.h. Move definition 2005-12-31 13:07:43 +00:00
utime.h
utmp.h
utsname.h
vfs.h
wait.h * include/sys/wait.h: Move definition of wait constants from here... 2006-06-12 14:25:05 +00:00