]> sourceware.org Git - newlib-cygwin.git/commit
* posix_ipc.cc (ipc_mutex_init): Call NtCreateMutant to make sure the
authorCorinna Vinschen <corinna@vinschen.de>
Wed, 6 Oct 2010 20:20:01 +0000 (20:20 +0000)
committerCorinna Vinschen <corinna@vinschen.de>
Wed, 6 Oct 2010 20:20:01 +0000 (20:20 +0000)
commit3748b3e8e761d1761b65d39be425d40f644b945a
treecf77a33570ca62014b14903da9df58b8783b2b14
parentc725984f706d8eec636c9cab24ccd8af8280781e
* 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.
winsup/cygwin/ChangeLog
winsup/cygwin/posix_ipc.cc
This page took 0.030744 seconds and 5 git commands to generate.