lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On 24 November 2016 at 01:08, Eric Wing <ewmailing@gmail.com> wrote:
> Action 4 is known to deadlock so don't worry about it. (There is a
> comment in the Lua code about it.) Basically this is the Cocoa API
> trying to concurrently operate on each element in the array. I tried
> some tricks to try to deal with this, but they were unsuccessful. I'm
> thinking this may only be solvable with a global interpretor lock, but
> I really don't want to do that. I was holding out hope there may be
> some other libdispatch trick. For now, these Cocoa APIs have a
> parameter to say to not do things concurrently which avoids this
> entire problem.

I mentioned it to you at the workshop, did you get to look at
http://daurnimator.com/post/147024385399/using-your-own-main-loop-on-osx