1 2 3 4 5 6 7 8 9 10 11 12
const std = @import("std"); const maxInt = std.math.maxInt; pub const pthread_mutex_t = extern struct { inner: usize = ~@as(usize, 0), }; pub const pthread_cond_t = extern struct { inner: usize = ~@as(usize, 0), }; pub const pthread_rwlock_t = extern struct { ptr: usize = maxInt(usize), };