]> sourceware.org Git - newlib-cygwin.git/commit
* cygerrno.h (geterrno_from_nt_status): Declare.
authorCorinna Vinschen <corinna@vinschen.de>
Thu, 28 Apr 2011 12:13:41 +0000 (12:13 +0000)
committerCorinna Vinschen <corinna@vinschen.de>
Thu, 28 Apr 2011 12:13:41 +0000 (12:13 +0000)
commit86bf572ef07171999788f0358340c28a1e7ce159
tree2dd2f3e3cda7b51b9fd62f3e5a611cb0af08d52e
parent1838d97b0a27fba6511ee718d527e93000231587
* cygerrno.h (geterrno_from_nt_status): Declare.
* errno.cc (geterrno_from_nt_status): Define.
* flock.cc: Fix copyright dates.
* ntdll.h (enum _TIMER_TYPE): Define.
(PTIMER_APC_ROUTINE): Define.
(NtCancelTimer): Declare.
(NtCreateTimer): Declare.
(NtSetTimer): Declare.
* posix_ipc.cc (ipc_cond_timedwait): Rewrite to make interruptible and
restartable.  Call pthread_testcancel in case of timeout to enable
pthread_cancel on waiting thread.  Replace WFMO timeout with waiting
for a waitable timer.  Explain why.  Replace single call to WFMO with
two calls, one for the event, one for the mutex.  Don't lock mutex in
case of error.
(ipc_cond_signal): Make void function.
(ipc_cond_close): Ditto.
(_mq_send): Immediately return -1 in case of error from
ipc_cond_timedwait.
(_mq_receive): Ditto.
winsup/cygwin/ChangeLog
winsup/cygwin/cygerrno.h
winsup/cygwin/errno.cc
winsup/cygwin/flock.cc
winsup/cygwin/ntdll.h
winsup/cygwin/posix_ipc.cc
This page took 0.03376 seconds and 5 git commands to generate.