summaryrefslogtreecommitdiff
path: root/ext/threads/threads.h
diff options
context:
space:
mode:
authorArtur Bergman <sky@nanisky.com>2001-09-21 07:57:41 +0000
committerArtur Bergman <sky@nanisky.com>2001-09-21 07:57:41 +0000
commite6e315b903395964ca2f901936c1bbae16d42f5e (patch)
treebd3f438be3dbaac28d20ddac405b5d2933100c43 /ext/threads/threads.h
parent4f896ddced4dda29739348c5b97bf4f1d7cd7e11 (diff)
downloadperl-e6e315b903395964ca2f901936c1bbae16d42f5e.tar.gz
Rename the *thread* functions to Perl_* to avoid clashes.
Notably on AIX but could become a problem on other platforms. p4raw-id: //depot/perl@12103
Diffstat (limited to 'ext/threads/threads.h')
-rwxr-xr-xext/threads/threads.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/ext/threads/threads.h b/ext/threads/threads.h
index 869b270e0c..bf0e580306 100755
--- a/ext/threads/threads.h
+++ b/ext/threads/threads.h
@@ -45,18 +45,18 @@ shared_sv* threads;
/* internal functions */
#ifdef WIN32
-THREAD_RET_TYPE thread_run(LPVOID arg);
+THREAD_RET_TYPE Perl_thread_run(LPVOID arg);
#else
-void thread_run(ithread* thread);
+void Perl_thread_run(ithread* thread);
#endif
-void thread_destruct(ithread* thread);
+void Perl_thread_destruct(ithread* thread);
/* Perl mapped functions to iThread:: */
-SV* thread_create(char* class, SV* function_to_call, SV* params);
-I32 thread_tid (SV* obj);
-void thread_join(SV* obj);
-void thread_detach(SV* obj);
-SV* thread_self (char* class);
+SV* Perl_thread_create(char* class, SV* function_to_call, SV* params);
+I32 Perl_thread_tid (SV* obj);
+void Perl_thread_join(SV* obj);
+void Perl_thread_detach(SV* obj);
+SV* Perl_thread_self (char* class);