src/winsup/cygwin ChangeLog exception ...
Tue Nov 27 14:45:00 GMT 2007

CVSROOT:	/cvs/src
Module name:	src
Changes by:	2007-11-27 14:45:14

Modified files:
	winsup/cygwin  : ChangeLog 
	winsup/cygwin/include/sys: cygwin.h 

Log message:
	Drop old SetResourceLock stuff in favor of mutos.
	* (_reslock): Remove.
	(__cygwin_user_data): Accommodate removal of resourcelocks member.
	(dll_crt0_0): Don't initialize resourcelocks.
	* (_cygtls::signal_exit): Drop resourcelocks handling.
	* (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_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
	(msync): Ditto.
	(mprotect): Ditto.
	* (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
	(per_process_overwrite): Accommodate above change.


More information about the Cygwin-cvs mailing list