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) {...@@ -11069,6 +11069,10 @@ pub const pthread_cancelstate = switch (native_os) {
11069 ENABLE = 0,11069 ENABLE = 0,
11070 DISABLE = 1,11070 DISABLE = 1,
11071 },11071 },
11072 .serenity => enum(c_int) {
11073 ENABLE = 1,
11074 DISABLE = 2,
11075 },
11072 else => void,11076 else => void,
11073};11077};
11074pub extern "c" fn pthread_setcancelstate(pthread_cancelstate, ?*pthread_cancelstate) E;11078pub extern "c" fn pthread_setcancelstate(pthread_cancelstate, ?*pthread_cancelstate) E;