src/thread/beos/SDL_syssem.c
changeset 1146 ab0154afe938
parent 769 b8d311d90021
child 1312 c9b51268668f
equal deleted inserted replaced
1145:d31afac94eff 1146:ab0154afe938
    88 	    case B_INTERRUPTED:
    88 	    case B_INTERRUPTED:
    89 		goto tryagain;
    89 		goto tryagain;
    90 	    case B_NO_ERROR:
    90 	    case B_NO_ERROR:
    91 		retval = 0;
    91 		retval = 0;
    92 		break;
    92 		break;
       
    93 	    case B_TIMED_OUT:
       
    94 		retval = SDL_MUTEX_TIMEDOUT;
       
    95 		break;
       
    96 	    case B_WOULD_BLOCK:
       
    97 		retval = SDL_MUTEX_TIMEDOUT;
       
    98 		break;
    93 	    default:
    99 	    default:
    94 		SDL_SetError("acquire_sem() failed");
   100 		SDL_SetError("acquire_sem() failed");
    95 		retval = -1;
   101 		retval = -1;
    96 		break;
   102 		break;
    97 	}
   103 	}