Potential atomic property/init deadlock fix#285
Potential atomic property/init deadlock fix#285ERobsham wants to merge 1 commit intognustep:masterfrom
Conversation
|
I think this code looks correct, it would be nice to have a test. I’m still not quite sure how code can get to this path though. |
|
That is a tough one. I'm not really sure how to force this behavior, as its been very intermittent in our systems. There are definitely a couple of exacerbating factors I know of:
The process that is deadlocking for us has the 'main application' class with a ton of atomic properties, and most of those classes are also host to a bunch of atomic properties, in some cases this continues a number of levels deep... As far as I can tell the only way to hit this is more or less a numbers game. You need to have an instance of an object where it has an atomic property, and both |
Initial attempt at resolving issue #284 (Rare atomic property during initialization deadlock)