ui/winui/condvar.h

branch
newapi
changeset 376
5578494147cb
parent 373
2eede3d98aba
equal deleted inserted replaced
375:af087d0fad9b 376:5578494147cb
37 37
38 #ifdef __cplusplus 38 #ifdef __cplusplus
39 extern "C" { 39 extern "C" {
40 #endif 40 #endif
41 41
42 typedef struct UiWinCondVar { 42 struct UiWinCondVar {
43 UiCondVar var; 43 UiCondVar var;
44 int set; 44 int set;
45 std::mutex mutex; 45 std::mutex mutex;
46 std::condition_variable cond; 46 std::condition_variable cond;
47 } UiWinCondVar; 47 };
48 48
49 49
50 #ifdef __cplusplus 50 #ifdef __cplusplus
51 } 51 }
52 #endif 52 #endif

mercurial