beremiz

e90aebdd2af1
Parents 4f0e1d66bba5
Children b4131e5d10a4
fixed wrong pthread initialisation
--- a/targets/Linux/plc_Linux_main.c Sat Apr 04 10:43:29 2009 +0200
+++ b/targets/Linux/plc_Linux_main.c Wed Apr 08 15:16:45 2009 +0200
@@ -84,8 +84,8 @@
sigev.sigev_notify_attributes = NULL;
sigev.sigev_notify_function = PLC_timer_notify;
- pthread_mutex_init(&debug_wait_mutex);
- pthread_mutex_init(&python_wait_mutex);
+ pthread_mutex_init(&debug_wait_mutex, NULL);
+ pthread_mutex_init(&python_wait_mutex, NULL);
pthread_mutex_lock(&debug_wait_mutex);
pthread_mutex_lock(&python_wait_mutex);