Displaying 2 results from an estimated 2 matches for "wait_abandoned_0".
2004 Oct 23
0
win32-ipc, with blocks (code review please)
...,fWaitAll,dwTimeOut);
// Yield block if signalled and block is provided
if((dwWait >= WAIT_OBJECT_0) && (dwWait < WAIT_OBJECT_0 + len)){
if(rb_block_given_p()){
rb_yield(klass);
}
return INT2NUM(dwWait - WAIT_OBJECT_0 + 1); // signalled
}
if((dwWait >= WAIT_ABANDONED_0) && (dwWait < WAIT_ABANDONED_0 + len)){
return INT2NUM(-(dwWait - WAIT_ABANDONED_0 + 1)); // an abandoned
mutex
}
if(dwWait == WAIT_TIMEOUT){
return INT2NUM(0); // Timed out
}
return Qnil;
}
static VALUE ipc_wait_any(int argc, VALUE* argv, VALUE klass)
{...
2007 Dec 27
1
[ win32utils-Patches-16626 ] Fix errors in wait_any() method
Patches item #16626, was opened at 2007-12-26 21:11
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=413&aid=16626&group_id=85
Category: win32-ipc
Group: Bug Fix
Status: Open
Resolution: None
Priority: 3
Submitted By: Nobody (None)
Assigned to: Nobody (None)
Summary: Fix errors in wait_any() method
Initial Comment:
The wait_any() method contained several