targets/Linux/plc_Linux_main.c
changeset 3334 d7e0ddb5974b
parent 3295 0375d801fff7
child 3725 0043e2b9dbec
equal deleted inserted replaced
3333:dd49e4055a10 3334:d7e0ddb5974b
   215 }
   215 }
   216 
   216 
   217 /* Called by PLC thread on each new python command*/
   217 /* Called by PLC thread on each new python command*/
   218 void UnBlockPythonCommands(void)
   218 void UnBlockPythonCommands(void)
   219 {
   219 {
   220     /* signal debugger thread it can read data */
   220     /* signal python thread it can read data */
   221     pthread_mutex_unlock(&python_wait_mutex);
   221     pthread_mutex_unlock(&python_wait_mutex);
   222 }
   222 }
   223 
   223 
   224 int TryLockPython(void)
   224 int TryLockPython(void)
   225 {
   225 {