[pulseaudio-commits] r1625 - /branches/lennart/src/pulsecore/thread-mq.c
svnmailer-noreply at 0pointer.de
svnmailer-noreply at 0pointer.de
Fri Aug 10 16:40:06 PDT 2007
Author: lennart
Date: Sat Aug 11 01:40:05 2007
New Revision: 1625
URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=3D1625&root=3Dpulseaudio&vi=
ew=3Drev
Log:
if no thread-mq is attached to the current thread, return an error, don't h=
it an assert
Modified:
branches/lennart/src/pulsecore/thread-mq.c
Modified: branches/lennart/src/pulsecore/thread-mq.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/branches/lennart/src/pulsecore/=
thread-mq.c?rev=3D1625&root=3Dpulseaudio&r1=3D1624&r2=3D1625&view=3Ddiff
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- branches/lennart/src/pulsecore/thread-mq.c (original)
+++ branches/lennart/src/pulsecore/thread-mq.c Sat Aug 11 01:40:05 2007
@@ -110,10 +110,7 @@
}
=
pa_thread_mq *pa_thread_mq_get(void) {
- pa_thread_mq *q;
-
pa_run_once(&once, init_tls);
- pa_assert_se(q =3D pa_tls_get(tls));
- return q;
+ return pa_tls_get(tls);
}
=
More information about the pulseaudio-commits
mailing list