461 |
|
|
462 |
return 0; |
return 0; |
463 |
|
|
|
case 1: |
|
|
case IL_WAIT_TIMEOUT: |
|
464 |
case IL_WAIT_FAILED: |
case IL_WAIT_FAILED: |
465 |
|
case 1: |
466 |
|
|
467 |
/* Success or timed out */ |
/* Success or wait failed */ |
468 |
|
|
469 |
/* Returning 1 because the lock is always regained */ |
/* Returning 1 because the lock is always regained */ |
470 |
return 1; |
return 1; |
471 |
|
|
472 |
|
case IL_WAIT_TIMEOUT: |
473 |
|
|
474 |
|
/* Timed out. We didn't regain the lock in the specified amount of */ |
475 |
|
/* so we have ro return false. But we do have regained the lock. */ |
476 |
|
|
477 |
|
return 0; |
478 |
|
|
479 |
default: |
default: |
480 |
|
|
481 |
/* Handle ThreadAbort etc */ |
/* Handle ThreadAbort etc */ |