← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #449474]: the functions exists()/click()... freezes within a thread

 

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

RaiMan proposed the following answer:
If this does not change the situation, then I think, you have to
implement a more fine grained locking .

SikuliX 1.1... is not thread-safe in any way, so there might be various
possible blocking situations inside.

The only chance for a solution is to wrap the SikuliX features, that
might be used in parallel, into def()'s, that are globally synchronized.

... and then you should not use observe, since this adds some levels of
complexity and instead use one or more threads, that simply run a
while(not exists()) loop.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.