← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #225919]: multi-thread performance hit

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
--- lock.acquire/release
... should do the job, but that means, you have to make a wrapper around the mouse actions, so you do not need to frame every mouseaction with lock.acquire/release

--- can I make a copy of the same region
yes, it is only the specific region object, so inside the handler, this should do it:
newRegion = Region(event.region)

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