projects/aports·blob master · refs

16 lines · 616 B

1the testsuite hangs on s390x when testing locking mechanism sysvsem. Work
2around by avoid use semtimedop for s390x.
3
4diff --git a/locks/unix/proc_mutex.c b/locks/unix/proc_mutex.c
5index 8e2187f..cad6c4a 100644
6--- a/locks/unix/proc_mutex.c
7+++ b/locks/unix/proc_mutex.c
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,