mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-10 03:24:13 +08:00
mdbx-test: backport - fix osal_actor_poll() for 32-bit builds.
Change-Id: I36b2f955295d8ca5435a68737c0c2e7f069bfe34
This commit is contained in:
parent
6120c2be0a
commit
feab109c61
@ -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