/[dotgnu-pnet]/pnet/engine/lib_monitor.c
ViewVC logotype

Diff of /pnet/engine/lib_monitor.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by tum, Fri Jun 18 18:08:09 2004 UTC revision 1.6 by ktreichel, Sun Nov 6 17:35:31 2005 UTC
# Line 461  ILBool _IL_Monitor_InternalWait(ILExecTh Line 461  ILBool _IL_Monitor_InternalWait(ILExecTh
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 */

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26