mirror of
https://github.com/isar/libmdbx.git
synced 2024-10-30 11:29:19 +08:00
mdbx-test: fix single-actor mode for Windows.
This commit is contained in:
parent
f22c127c44
commit
feb8dbf6d9
@ -187,7 +187,7 @@ typedef std::pair<HANDLE, actor_status> child;
|
||||
static std::unordered_map<mdbx_pid_t, child> childs;
|
||||
|
||||
bool osal_progress_push(bool active) {
|
||||
if (childs.empty()) {
|
||||
if (!childs.empty()) {
|
||||
if (!SetEvent(active ? hProgressActiveEvent : hProgressPassiveEvent))
|
||||
failure_perror("osal_progress_push: SetEvent(overlord.progress)",
|
||||
GetLastError());
|
||||
|
Loading…
Reference in New Issue
Block a user