mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-10 21:31:37 -07:00
19 lines
324 B
Odin
19 lines
324 B
Odin
#+build !windows
|
|
package miniaudio
|
|
|
|
import "core:sys/posix"
|
|
import "core:c"
|
|
|
|
thread :: posix.pthread_t
|
|
mutex :: posix.pthread_mutex_t
|
|
event :: struct {
|
|
value: u32,
|
|
lock: posix.pthread_mutex_t,
|
|
cond: posix.pthread_cond_t,
|
|
}
|
|
semaphore :: struct {
|
|
value: c.int,
|
|
lock: posix.pthread_mutex_t,
|
|
cond: posix.pthread_cond_t,
|
|
}
|