| 1 | the testsuite hangs on s390x when testing locking mechanism sysvsem. Work
|
| 2 | around by avoid use semtimedop for s390x.
|
| 3 |
|
| 4 | diff --git a/locks/unix/proc_mutex.c b/locks/unix/proc_mutex.c
|
| 5 | index 8e2187f..cad6c4a 100644
|
| 6 | |
| 7 | |
| 8 | @@ -449,7 +449,7 @@ static const apr_proc_mutex_unix_lock_methods_t mutex_sysv_methods =
|
| 9 | proc_mutex_sysv_create,
|
| 10 | proc_mutex_sysv_acquire,
|
| 11 | proc_mutex_sysv_tryacquire,
|
| 12 | -#if defined(HAVE_SEMTIMEDOP)
|
| 13 | +#if defined(HAVE_SEMTIMEDOP) && !defined(__s390x__)
|
| 14 | proc_mutex_sysv_timedacquire,
|
| 15 | #else
|
| 16 | proc_mutex_spinsleep_timedacquire,
|