diff options
author | Juergen Keil <jkeil@users.sourceforge.net> | 2001-09-09 15:39:47 +0000 |
---|---|---|
committer | Juergen Keil <jkeil@users.sourceforge.net> | 2001-09-09 15:39:47 +0000 |
commit | 3987af82e5e4724c87f049f114779797191de6e2 (patch) | |
tree | 872b58e22bc29309742f2b142618249c16d28cc8 /src/xine-engine/audio_decoder.c | |
parent | 64b19be1dbb17e79282f62ba7f1f458639b0e5d7 (diff) | |
download | xine-lib-3987af82e5e4724c87f049f114779797191de6e2.tar.gz xine-lib-3987af82e5e4724c87f049f114779797191de6e2.tar.bz2 |
Enable PTHREAD_SCOPE_SYSTEM, to work around xine hanging on solaris.
CVS patchset: 591
CVS date: 2001/09/09 15:39:47
Diffstat (limited to 'src/xine-engine/audio_decoder.c')
-rw-r--r-- | src/xine-engine/audio_decoder.c | 3 |
1 files changed, 2 insertions, 1 deletions
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) ; } |