mirror of
https://github.com/isar/libmdbx.git
synced 2025-05-21 20:47:46 +08:00
mdbx-tests: обнуление pid на входе в osal_actor_poll()
(backport).
This commit is contained in:
parent
d9c5e40360
commit
dbf9313244
@ -522,6 +522,7 @@ int osal_actor_poll(mdbx_pid_t &pid, unsigned timeout) {
|
|||||||
options |= WCONTINUED;
|
options |= WCONTINUED;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
pid = 0;
|
||||||
while (sigalarm_tail == sigalarm_head) {
|
while (sigalarm_tail == sigalarm_head) {
|
||||||
int status;
|
int status;
|
||||||
pid = waitpid(0, &status, options);
|
pid = waitpid(0, &status, options);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user