-
-
Notifications
You must be signed in to change notification settings - Fork 411
Conversation
|
|
LGTM |
|
Release notes ? |
|
Wait, we don't merge this until we understand the actual cause, and why real-time signals fix the issue. |
|
Whats the difference between RT signals and standard signals?
Why this bug was not found before?
Is it safe to change USR signals to RT signals? Yes, |
There should only be one signal pending at a time due to the signal masks & synchronization. If there are multiple then there's a bug in the code. Working around the issue might mean that instead of a deadlock the issue shows up as memory corruption and other difficult to track down symptoms.
"sending order guarantee" applies to multiple of the same signal (you can add data to RT signals, so the attached data is received in order.) Otherwise they have fixed priority (lowest numbered have highest priority,) and are often delivered at lower priority than standard signals (to help avoiding coalesced standard signals.) As I've previously stated, signal masks & synchronization should make ordering completely irrelevant for this code.
It breaks all applications that expect having SIGRTMIN / SIGRTMIN+1 available for use. I'm not against a change if it's necessary, I just want a solid justification instead of scant details and hand waving.
So this is a NUMA machine? It would have been nice if this detail was included in the bug report. |
Just multiple |
Could you add all that information in the commit message? |
|
I just saw this PR, tried it on Android and it seems to work around a long-standing issue where
|
|
What's the holdup on this? |
|
We need consensus about this issue first. At least from @MartinNowak |
|
Ping @MartinNowak. Is there any reason why this hasn't been merged, other then a pending rebase? In place of As well, |
This would be a silent breakage, indeed (and one that would go unnoticed if the GC is used sparingly enough to avoid collection -- not good!). I think a changelog entry would be in order, but I believe that this is a pretty big pain point that should be resolved. |
|
@9il Please rebase this. I cannot do it for you since you do not allow for external pushes to your fork. |
|
Closing due to inactivity. This issue is reachable through the link on bugzilla. |
No description provided.