src/thread/beos/SDL_syssem.c
changeset 1146 ab0154afe938
parent 769 b8d311d90021
child 1312 c9b51268668f
--- a/src/thread/beos/SDL_syssem.c	Tue Sep 27 09:00:42 2005 +0000
+++ b/src/thread/beos/SDL_syssem.c	Tue Sep 27 11:27:38 2005 +0000
@@ -90,6 +90,12 @@
 	    case B_NO_ERROR:
 		retval = 0;
 		break;
+	    case B_TIMED_OUT:
+		retval = SDL_MUTEX_TIMEDOUT;
+		break;
+	    case B_WOULD_BLOCK:
+		retval = SDL_MUTEX_TIMEDOUT;
+		break;
 	    default:
 		SDL_SetError("acquire_sem() failed");
 		retval = -1;