# HG changeset patch
# User lbessard
# Date 1239196605 -7200
# Node ID e90aebdd2af18e667b6cc3723772117661f374b6
# Parent  4f0e1d66bba59456fd36ce8c6ffb0e712468a05c
fixed wrong pthread initialisation

diff -r 4f0e1d66bba5 -r e90aebdd2af1 targets/Linux/plc_Linux_main.c
--- 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);