← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #191167]: [research] [Java] Mouse/keyboard choppiness when using concurrent threads

 

Question #191167 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/191167

Bogdan T. posted a new comment:
Hi RaiMan,

Noticed the same problem while using sikuli-java library and
multithreading. Second thread is an observer (implemented either with
observer mechanism or a new thread that waits for a match) and first
thread does different stuff. In the first thread, mouse clicks are
missed and key presses are very slow.

If I run the second thread stand-alone in a new instance of the application, seems to work.
So, a workaround would be single threaded with two OS processes. But this means running two applications.

Any ideas of a better solution?

Thank you!

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.