*** empty log message ***
authorSam Lantinga <slouken@libsdl.org>
Thu, 13 Jun 2002 23:59:20 +0000
changeset 41704ec6995f75d
parent 416 6b0363ceaba2
child 418 337f3ec4c385
*** empty log message ***
include/SDL_mutex.h
     1.1 --- a/include/SDL_mutex.h	Thu Jun 13 21:40:18 2002 +0000
     1.2 +++ b/include/SDL_mutex.h	Thu Jun 13 23:59:20 2002 +0000
     1.3 @@ -66,7 +66,10 @@
     1.4  #define SDL_LockMutex(m)	SDL_mutexP(m)
     1.5  extern DECLSPEC int SDLCALL SDL_mutexP(SDL_mutex *mutex);
     1.6  
     1.7 -/* Unlock the mutex  (Returns 0, or -1 on error) */
     1.8 +/* Unlock the mutex  (Returns 0, or -1 on error)
     1.9 +   It is an error to unlock a mutex that has not been locked by
    1.10 +   the current thread, and doing so results in undefined behavior.
    1.11 + */
    1.12  #define SDL_UnlockMutex(m)	SDL_mutexV(m)
    1.13  extern DECLSPEC int SDLCALL SDL_mutexV(SDL_mutex *mutex);
    1.14