]> Repos - portaudio/commit
pa_mac_core_blocking: fix hang when running stream stopped
authorPhil Burk <philburk@mobileer.com>
Sat, 27 Aug 2016 20:53:10 +0000 (13:53 -0700)
committerPhil Burk <philburk@mobileer.com>
Wed, 14 Sep 2016 01:49:00 +0000 (18:49 -0700)
commit0bc7cf94651c9174462505a2a6fbd783f728bcf0
treed8ebe87a3f549b18862ac3f73d5cd6b81c43deb5
parent05da7a854db5e28794311a7ea4f394cbce2cd0e4
pa_mac_core_blocking: fix hang when running stream stopped

One thread was filling the buffer while
another thread was waiting for it to be empty.

Add thread safety warnings.

Fix ticket #252
include/portaudio.h
src/hostapi/coreaudio/pa_mac_core.c
src/hostapi/coreaudio/pa_mac_core_blocking.c
src/hostapi/coreaudio/pa_mac_core_blocking.h
test/patest_write_stop_hang_illegal.c [new file with mode: 0644]