fix(osal): initialize Windows thread sync correctly (#6604)
This commit is contained in:
@@ -152,6 +152,7 @@ lv_result_t lv_thread_sync_init(lv_thread_sync_t * sync)
|
|||||||
|
|
||||||
InitializeCriticalSection(&sync->cs);
|
InitializeCriticalSection(&sync->cs);
|
||||||
InitializeConditionVariable(&sync->cv);
|
InitializeConditionVariable(&sync->cv);
|
||||||
|
sync->v = false;
|
||||||
|
|
||||||
return LV_RESULT_OK;
|
return LV_RESULT_OK;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user