15 lines
319 B
Zig
15 lines
319 B
Zig
|
pub const pthread_mutex_t = extern struct {
|
||
|
flags: u32 = 0,
|
||
|
lock: i32 = 0,
|
||
|
unused: i32 = -42,
|
||
|
owner: i32 = -1,
|
||
|
owner_count: i32 = 0,
|
||
|
};
|
||
|
pub const pthread_cond_t = extern struct {
|
||
|
flags: u32 = 0,
|
||
|
unused: i32 = -42,
|
||
|
mutex: ?*c_void = null,
|
||
|
waiter_count: i32 = 0,
|
||
|
lock: i32 = 0,
|
||
|
};
|