author | laurent |
Wed, 09 Dec 2009 09:43:21 +0100 | |
changeset 485 | 8b2da4b9d408 |
parent 483 | bc26c42d2eec |
child 486 | 2e0fe44044b3 |
--- a/targets/Linux/plc_Linux_main.c Wed Dec 09 01:11:48 2009 +0100 +++ b/targets/Linux/plc_Linux_main.c Wed Dec 09 09:43:21 2009 +0100 @@ -159,6 +159,8 @@ pthread_mutex_lock(&debug_mutex); /*__DEBUG is protected by this mutex */ __DEBUG = !disable; + if (disable) + pthread_mutex_unlock(&debug_mutex); } void resumeDebug(void)