Skip to content

Commit e991939

Browse files
author
Volker Waurich
committed
- use GC_pthread_create instead of pthread_create
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@18279 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
1 parent 1ff4433 commit e991939

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Compiler/Template/CodegenC.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2269,7 +2269,7 @@ end functionXXX_system0_HPCOM_PThread_func;
22692269
template functionXXX_system0_HPCOM_PThread_call(String name, Integer n, Integer idx)
22702270
::=
22712271
<<
2272-
pthread_create(&odeThread_<%idx%>, NULL, function<%name%>_system<%n%>_thread_<%idx%>, data);
2272+
GC_pthread_create(&odeThread_<%idx%>, NULL, function<%name%>_system<%n%>_thread_<%idx%>, data);
22732273
>>
22742274
end functionXXX_system0_HPCOM_PThread_call;
22752275

0 commit comments

Comments
 (0)