1063 function SDL_CreateMutex: PSDL_mutex; cdecl; external SDLLibName; |
1064 function SDL_CreateMutex: PSDL_mutex; cdecl; external SDLLibName; |
1064 procedure SDL_DestroyMutex(mutex: PSDL_mutex); cdecl; external SDLLibName; |
1065 procedure SDL_DestroyMutex(mutex: PSDL_mutex); cdecl; external SDLLibName; |
1065 function SDL_LockMutex(mutex: PSDL_mutex): LongInt; cdecl; external SDLLibName {$IFNDEF SDL2}name 'SDL_mutexP'{$ENDIF}; |
1066 function SDL_LockMutex(mutex: PSDL_mutex): LongInt; cdecl; external SDLLibName {$IFNDEF SDL2}name 'SDL_mutexP'{$ENDIF}; |
1066 function SDL_UnlockMutex(mutex: PSDL_mutex): LongInt; cdecl; external SDLLibName {$IFNDEF SDL2}name 'SDL_mutexV'{$ENDIF}; |
1067 function SDL_UnlockMutex(mutex: PSDL_mutex): LongInt; cdecl; external SDLLibName {$IFNDEF SDL2}name 'SDL_mutexV'{$ENDIF}; |
1067 |
1068 |
|
1069 function SDL_CreateCond: PSDL_cond; cdecl; external SDLLibName; |
|
1070 procedure SDL_DestroyCond(cond: PSDL_cond); cdecl; external SDLLibName; |
|
1071 function SDL_CondSignal(cond: PSDL_cond): LongInt; cdecl; external SDLLibName; |
|
1072 function SDL_CondBroadcast(cond: PSDL_cond): LongInt; cdecl; external SDLLibName; |
|
1073 function SDL_CondWait(cond: PSDL_cond; mut: PSDL_mutex): LongInt; cdecl; external SDLLibName; |
|
1074 function SDL_CondWaitTimeout(cond: PSDL_cond; mut: PSDL_mutex; ms: Longword): LongInt; cdecl; external SDLLibName; |
|
1075 |
1068 |
1076 |
1069 function SDL_CreateSemaphore(initial_value: Longword): PSDL_sem; cdecl; external SDLLibName; |
1077 function SDL_CreateSemaphore(initial_value: Longword): PSDL_sem; cdecl; external SDLLibName; |
1070 procedure SDL_DestroySemaphore(sem: PSDL_sem); cdecl; external SDLLibName; |
1078 procedure SDL_DestroySemaphore(sem: PSDL_sem); cdecl; external SDLLibName; |
1071 function SDL_SemWait(sem: PSDL_sem): LongInt; cdecl; external SDLLibName; |
1079 function SDL_SemWait(sem: PSDL_sem): LongInt; cdecl; external SDLLibName; |
1072 function SDL_SemTryWait(sem: PSDL_sem): LongInt; cdecl; external SDLLibName; |
1080 function SDL_SemTryWait(sem: PSDL_sem): LongInt; cdecl; external SDLLibName; |