コード例 #1
0
ファイル: hawkthreads.hpp プロジェクト: DpEpsilon/Blockade
		inline bool Wait(HTcond &cond, int timeout) {
			return htCondWait(&cond, timeout) == 0;
		}
コード例 #2
0
ファイル: hawkthreads.hpp プロジェクト: jamespayor/Blockade
inline bool Wait(HTcond &cond, HTmutex &mutex, int timeout) {
    int rv = htCondWait(&cond, &mutex, timeout);
    return rv == 0;
}