mdbx-testing: тестирование парковки транзакций.

This commit is contained in:
Леонид Юрьев (Leonid Yuriev)
2024-07-10 22:31:41 +03:00
parent ec0ada7b8c
commit 2311706272
10 changed files with 120 additions and 7 deletions

View File

@@ -320,6 +320,8 @@ static void handler_SIGUSR(int signum) {
}
}
bool osal_multiactor_mode(void) { return overlord_pid != 0; }
bool osal_progress_push(bool active) {
if (overlord_pid) {
if (kill(overlord_pid, active ? SIGUSR1 : SIGUSR2))