Rename cancelable_wait -> cygwait throughout.
* DevNotes: Add entry cgf-000015. * cygwait.h (cygwait): Don't allow an optional PLARGE_INTERGER argument.
This commit is contained in:
@@ -1150,7 +1150,7 @@ fhandler_dev_tape::_lock (bool cancelable)
|
||||
/* O_NONBLOCK is only valid in a read or write call. Only those are
|
||||
cancelable. */
|
||||
DWORD timeout = cancelable && is_nonblocking () ? 0 : INFINITE;
|
||||
switch (cancelable_wait (mt_mtx, timeout, cw_sig | cw_cancel | cw_cancel_self))
|
||||
switch (cygwait (mt_mtx, timeout, cw_sig | cw_cancel | cw_cancel_self))
|
||||
{
|
||||
case WAIT_OBJECT_0:
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user