From 3987af82e5e4724c87f049f114779797191de6e2 Mon Sep 17 00:00:00 2001 From: Juergen Keil Date: Sun, 9 Sep 2001 15:39:47 +0000 Subject: Enable PTHREAD_SCOPE_SYSTEM, to work around xine hanging on solaris. CVS patchset: 591 CVS date: 2001/09/09 15:39:47 --- src/xine-engine/audio_decoder.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/xine-engine/audio_decoder.c') diff --git a/src/xine-engine/audio_decoder.c b/src/xine-engine/audio_decoder.c index 7961b06f8..d1cc90071 100644 --- a/src/xine-engine/audio_decoder.c +++ b/src/xine-engine/audio_decoder.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: audio_decoder.c,v 1.33 2001/09/06 13:37:46 jkeil Exp $ + * $Id: audio_decoder.c,v 1.34 2001/09/09 15:39:47 jkeil Exp $ * * * functions that implement audio decoding @@ -221,6 +221,7 @@ void audio_decoder_init (xine_t *this) { pthread_attr_getschedparam(&pth_attrs, &pth_params); pth_params.sched_priority = sched_get_priority_min(SCHED_OTHER); pthread_attr_setschedparam(&pth_attrs, &pth_params); + pthread_attr_setscope(&pth_attrs, PTHREAD_SCOPE_SYSTEM); pthread_create (&this->audio_thread, &pth_attrs, audio_decoder_loop, this) ; } -- cgit v1.2.3