The following patch to thread.h allows OpenVMS to pass the tests in ext/threads/shared/t/wait.t

By default, OpenVMS only allocates 8192 bytes for Alpha and I64, and 1024 bytes on VAX.

-John
[EMAIL PROTECTED]
Personal Opinion Only
--- /rsync_root/perl/thread.h   Sun Jan  8 14:54:11 2006
+++ thread.h    Fri Mar 17 10:58:42 2006
@@ -98,6 +98,11 @@
 #  define THREAD_CREATE_NEEDS_STACK (32*1024)
 #endif
 
+#ifdef __VMS
+  /* Default is 1024 on VAX, 8192 otherwise */
+#  define THREAD_CREATE_NEEDS_STACK (32*1024)
+#endif
+
 #ifdef I_MACH_CTHREADS
 
 /* cthreads interface */

Reply via email to