mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-02 01:04:13 +08:00
mdbx-test: fix osal_actor_poll() for 32-bit builds.
Change-Id: I36b2f955295d8ca5435a68737c0c2e7f069bfe34
This commit is contained in:
parent
c3432c158e
commit
73c7742db4
@ -184,7 +184,7 @@ void osal_killall_actors(void) {
|
||||
int osal_actor_poll(mdbx_pid_t &pid, unsigned timeout) {
|
||||
struct timespec ts;
|
||||
ts.tv_nsec = 0;
|
||||
ts.tv_sec = timeout;
|
||||
ts.tv_sec = (timeout > INT_MAX) ? INT_MAX : timeout;
|
||||
retry:
|
||||
int status, options = WNOHANG;
|
||||
#ifdef WUNTRACED
|
||||
|
Loading…
x
Reference in New Issue
Block a user