• Sahnvour's avatar
    fix undefined behavior in ma_thread_wait__posix · e85d07d0
    Sahnvour authored
    Quoting man for pthread_detach:
    > The behavior is undefined if the value specified by the thread argument
    > to pthread_detach() does not refer to a joinable thread.
    
    Since the thread was joined right before, pthread_detach should not be called.
    e85d07d0
miniaudio.h 3.66 MB
The source could not be displayed because it is larger than 1 MB. You can load it anyway or download it instead.