src/winsup/cygwin ChangeLog posix_ipc.cc

corinna@cygwin.com corinna@cygwin.com
Wed Oct 6 20:20:00 GMT 2010


CVSROOT:	/cvs/src
Module name:	src
Changes by:	corinna@sourceware.org	2010-10-06 20:20:01

Modified files:
	winsup/cygwin  : ChangeLog posix_ipc.cc 

Log message:
	* posix_ipc.cc (ipc_mutex_init): Call NtCreateMutant to make sure the
	access mask is correct.
	(ipc_cond_init): Take additional parameter to differ between send and
	receive event.  Call NtCreateEvent to make sure the access mask is
	correct.
	(ipc_cond_timedwait): Reset Event prior to calling WFMO.
	(struct mq_info): Split mqi_wait into two events, mqi_waitsend and
	mqi_waitrecv.
	(mq_open): Calloc mqinfo.  Create mqi_waitsend and mqi_waitrecv events.
	Make sure all synchronization objects are closed in case of an error.
	(_mq_send): Wait for mqi_waitsend event.  Signal mqi_waitrecv event.
	(_mq_receive): Wait for mqi_waitrecv event.  Signal mqi_waitsend event.
	(mq_close): Close mqi_waitsend and mqi_waitrecv events.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.5074&r2=1.5075
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/posix_ipc.cc.diff?cvsroot=src&r1=1.16&r2=1.17



More information about the Cygwin-cvs mailing list