--- - branch: MAIN date: Tue Oct 8 18:02:46 UTC 2019 files: - new: '1.367' old: '1.366' path: src/sys/kern/kern_sig.c pathrev: src/sys/kern/kern_sig.c@1.367 type: modified id: 20191008T180246Z.58b269edcfc9cd7165976621d30189f247cea3d6 log: | Enhance reliability of ptrace(2) in a debuggee with multiple LWPs Stop competing between threads which one emits event signal quicker and overwriting the signal from another thread. This fixes missed in action signals. NetBSD truss can now report reliably all TRAP_SCE/SCX/etc events without reports of missed ones. his was one of the reasons why debuggee with multiple threads misbehaved under a debugger. This change is v.2 of the previously reverted commit for the same fix. This version contains recovery path that stopps triggering event SIGTRAP for a detached debugger. module: src subject: 'CVS commit: src/sys/kern' unixtime: '1570557766' user: kamil