目次 - SDL 3.0 API(機能別) - 同期プリミティブ - SDL_GetSemaphoreValue
SDL_GetSemaphoreValue
セマフォの現在の値を得る
ヘッダ
SDL3/SDL_mutex.h
構文
Uint32 SDL_GetSemaphoreValue(SDL_Semaphore *sem);
引数
戻り値
(Uint32) 現在のセマフォの値を戻す.
バージョン
SDL 3.2.0以降
SDL Wikiへのリンク
SDL_GetSemaphoreValue - SDL Wiki