sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #52355
Re: [Question #682255]: Custom theading best practices
Question #682255 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/682255
Status: Answered => Open
Hugo Jose Goncalves is still having a problem:
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "C:\Users\hugo1\AppData\Roaming\Sikulix\Extensions\jython-standalone-2.7.1.jar\Lib\atexit.py", line 24, in _run_exitfuncs
func(*targs, **kargs)
File "C:\Users\hugo1\AppData\Roaming\Sikulix\Extensions\jython-standalone-2.7.1.jar\Lib\threading.py", line 297, in _MainThread__exitfunc
t.join()
File "C:\Users\hugo1\AppData\Roaming\Sikulix\Extensions\jython-standalone-2.7.1.jar\Lib\threading.py", line 137, in join
self._thread.join()
InterruptedException: java.lang.InterruptedException
Error in sys.exitfunc:
Traceback (most recent call last):
File "C:\Users\hugo1\AppData\Roaming\Sikulix\Extensions\jython-standalone-2.7.1.jar\Lib\atexit.py", line 24, in _run_exitfuncs
File "C:\Users\hugo1\AppData\Roaming\Sikulix\Extensions\jython-standalone-2.7.1.jar\Lib\threading.py", line 297, in _MainThread__exitfunc
File "C:\Users\hugo1\AppData\Roaming\Sikulix\Extensions\jython-standalone-2.7.1.jar\Lib\threading.py", line 137, in join
at java.lang.Object.wait(Native Method)
at java.lang.Thread.join(Unknown Source)
at java.lang.Thread.join(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
java.lang.InterruptedException: java.lang.InterruptedException
I don't think it should be waiting (joinning) these custom threads as they have a infinite loop
that's why I thought it made a lot of sense to mark them as daemon
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.