mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-06 23:24:14 +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;
|
static std::unordered_map<mdbx_pid_t, child> childs;
|
||||||
|
|
||||||
bool osal_progress_push(bool active) {
|
bool osal_progress_push(bool active) {
|
||||||
if (childs.empty()) {
|
if (!childs.empty()) {
|
||||||
if (!SetEvent(active ? hProgressActiveEvent : hProgressPassiveEvent))
|
if (!SetEvent(active ? hProgressActiveEvent : hProgressPassiveEvent))
|
||||||
failure_perror("osal_progress_push: SetEvent(overlord.progress)",
|
failure_perror("osal_progress_push: SetEvent(overlord.progress)",
|
||||||
GetLastError());
|
GetLastError());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user