Index: thread_cond.c
===================================================================
--- thread_cond.c	(revision 579232)
+++ thread_cond.c	(working copy)
@@ -92,7 +92,11 @@
         rv = errno;
     }
 #endif
+#ifdef __MVS__
+    if (EAGAIN == rv) {
+#else
     if (ETIMEDOUT == rv) {
+#endif /* __MVS__ */ 
         return APR_TIMEUP;
     }
     return rv;
