targets/Linux/plc_Linux_main.c
branchwxPython4
changeset 3344 4a08728a2ea4
parent 3334 d7e0ddb5974b
child 3725 0043e2b9dbec
equal deleted inserted replaced
3340:a13da70a8ae4 3344:4a08728a2ea4
   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 {