authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-10-13 20:32:25+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-10-22 22:15:31+02:00
log049a5804a309e0d202273a969768a7e83ec0b4a7
treed9a9b95b859040b6c64a6055df85f365e914dcfc
parentac277ef99ed3caab470da12c52ba756f778d9e6d
signature Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

std.c: define pthread_cancelstate for serenity


1 files changed, 4 insertions(+), 0 deletions(-)

lib/std/c.zig+4
......@@ -11069,6 +11069,10 @@ pub const pthread_cancelstate = switch (native_os) {
1106911069 ENABLE = 0,
1107011070 DISABLE = 1,
1107111071 },
11072 .serenity => enum(c_int) {
11073 ENABLE = 1,
11074 DISABLE = 2,
11075 },
1107211076 else => void,
1107311077};
1107411078pub extern "c" fn pthread_setcancelstate(pthread_cancelstate, ?*pthread_cancelstate) E;