Make accesses to __iNtErNaL_running_procs thread-safe#104
Make accesses to __iNtErNaL_running_procs thread-safe#104pankgeorg merged 1 commit intoJuliaPluto:mainfrom
__iNtErNaL_running_procs thread-safe#104Conversation
|
I'm a bit concerned that all our tests are red. The ones on |
|
Yes, but they're failing already in
To be helpful, I'd need to understand the motivation behind the tests. For example I don't know what Line 11 in 017aaf3 In meantime a new version including this PR would be very welcome downstream 😃 |
I decided to give it a go because of lack of sleep, so I went down a rabbit hole trying to decipher what the test was really trying to assert, and the result of my investigation is #105. This doesn't solve the problems with Julia nightly, but at least there should be fewer red marks on CI. |
I really appreciate and hope the decision did not cause more lack of sleep! |
|
@pankgeorg could you please register v1.4.1? Thanks! |
|
__iNtErNaL_running_procsis a global state, and in a multi-threaded scenario it's unsafe to directlypush!to it. A simple lock around it solves the issue. Without this, I got occasional