| author | |
| committer | |
| log | 59348240d751ca45c64f19346ff4ca6ad686f2d9 |
| tree | b7659ce60f32f4b3272f5ade9f1e26b0b2afff52 |
| parent | 6de4bd850c3def0ab09b4f40beecfffd85c91ce3 |
| signature | Commit is signed but in an unrecognized format. |
1 files changed, 2 insertions(+), 2 deletions(-)
lib/std/os.zig+2-2| ... | ... | @@ -228,8 +228,8 @@ pub fn raise(sig: u8) RaiseError!void { |
| 228 | 228 | // block application signals |
| 229 | 229 | _ = linux.sigprocmask(SIG_BLOCK, &linux.app_mask, &set); |
| 230 | 230 | |
| 231 | const tid = linux.syscall0(linux.SYS_gettid); | |
| 232 | const rc = linux.syscall2(linux.SYS_tkill, tid, sig); | |
| 231 | const tid = linux.gettid(); | |
| 232 | const rc = linux.tkill(tid, sig); | |
| 233 | 233 | |
| 234 | 234 | // restore signal mask |
| 235 | 235 | _ = linux.sigprocmask(SIG_SETMASK, &set, null); |