This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Use standard gcc names in config_H.gc64's CPPSTDIN/CPPRUN
[perl5.git] / os2 / os2thread.h
index d56fe16..e4f8360 100644 (file)
@@ -7,8 +7,13 @@ typedef _rmutex perl_mutex;
 
 /*typedef HEV perl_cond;*/     /* Will include os2.h into all C files.  */
 typedef unsigned long perl_cond;
+int os2_cond_wait(perl_cond *c, perl_mutex *m);
 
+#ifdef USE_SLOW_THREAD_SPECIFIC
 typedef int perl_key;
+#else
+typedef void** perl_key;
+#endif
 
 typedef unsigned long pthread_attr_t;
 #define PTHREADS_INCLUDED