sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #17321
Re: [Question #225919]: multi-thread performance hit
Question #225919 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/225919
Status: Answered => Open
Ador Juan Cruz is still having a problem:
thank you for the quick reply.
I am running the bot on a quad core AMD machine so I if moving some of the load out of the main thread to another thread would make the bot faster, the better.
The queue would be the correct way of doing it. But since I only have 2 or 3 of these events I was thinking of just adding a global lock object to synchronize the mouse/keyboard use between the threads. Would locking any of the threads using lock.acquire/release cause any problems with sikuli ?
Another question, while inside the event handler, the doc said it pauses the observe for that region but can I make a copy of the same region and do a region.exists/wait vanish calls inside the handler ?
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.