Skip to content

Commit

Permalink
- use GC_pthread_create instead of pthread_create
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@18279 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Volker Waurich committed Nov 25, 2013
1 parent 1ff4433 commit e991939
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/Template/CodegenC.tpl
Expand Up @@ -2269,7 +2269,7 @@ end functionXXX_system0_HPCOM_PThread_func;
template functionXXX_system0_HPCOM_PThread_call(String name, Integer n, Integer idx)
::=
<<
pthread_create(&odeThread_<%idx%>, NULL, function<%name%>_system<%n%>_thread_<%idx%>, data);
GC_pthread_create(&odeThread_<%idx%>, NULL, function<%name%>_system<%n%>_thread_<%idx%>, data);
>>
end functionXXX_system0_HPCOM_PThread_call;
Expand Down

0 comments on commit e991939

Please sign in to comment.