mirror of
https://github.com/isar/libmdbx.git
synced 2025-08-25 21:54:28 +08:00
mdbx-testing: тестирование парковки транзакций.
This commit is contained in:
@@ -175,6 +175,10 @@ bool actor_config::osal_deserialize(const char *str, const char *end,
|
||||
typedef std::pair<HANDLE, actor_status> child;
|
||||
static std::unordered_map<mdbx_pid_t, child> children;
|
||||
|
||||
bool osal_multiactor_mode(void) {
|
||||
return hProgressActiveEvent || hProgressPassiveEvent;
|
||||
}
|
||||
|
||||
bool osal_progress_push(bool active) {
|
||||
if (!children.empty()) {
|
||||
if (!SetEvent(active ? hProgressActiveEvent : hProgressPassiveEvent))
|
||||
|
Reference in New Issue
Block a user