]> code.delx.au - pulseaudio/commit
thread-win32: Implement pa_thread_free_nojoin()
authorTanu Kaskinen <tanu.kaskinen@linux.intel.com>
Sun, 26 Jan 2014 17:11:07 +0000 (19:11 +0200)
committerTanu Kaskinen <tanu.kaskinen@linux.intel.com>
Thu, 30 Jan 2014 08:47:46 +0000 (10:47 +0200)
commita64eead8767932141b2ee54a6c689d7c45409705
tree562be1fd22d7545e3d4a0a17d8a4b343de2cc5c1
parentc95b4c22caeb69552406395ee6472ed308301ff2
thread-win32: Implement pa_thread_free_nojoin()

This fixes a build error with mingw32:

pulsecore/.libs/libpulsecommon_4.99_la-lock-autospawn.o: In function `unref':
/home/abuild/rpmbuild/BUILD/pulseaudio-4.99.2/src/pulsecore/lock-autospawn.c:123: undefined reference to `pa_thread_free_nojoin'
collect2: error: ld returned 1 exit status

pa_thread_free_nojoin() was initially only implemented for the pthread
based pa_thread backend, because it was incorrectly assumed that
autospawning (the only user of pa_thread_free_nojoin()) is not used on
Windows.

Reported-By: Michael DePaulo <mikedep333@gmail.com>
src/pulsecore/thread-win32.c