[Fwd: Announcing SMPEG 0.4.0]


-Sam Lantinga, Lead Programmer, Loki Entertainment Software
-------------- next part --------------
An embedded message was scrubbed…
From: vivien.chappelier@enst-bretagne.fr (Vivien Chappelier)
Subject: Re: Announcing SMPEG 0.4.0
Date: Thu, 15 Jun 2000 15:21:08 +0200
Size: 2321
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20000615/98b315a1/attachment.eml

Here is a sample code that shows the bug. It runs fine on my Linux box
and hangs on a Ultra5 (sparc-sun-solaris2.7)

[snip]

Doesn’t hang on Solaris2.6 (Ultra1). Does solaris 2.7 implement recursive
mutexes? 2.6 lacks them, so the generic implementation is used.

For some reason the subthread does not appear to run. I’ll check further.

Mattias Engdeg?rd wrote:

Here is a sample code that shows the bug. It runs fine on my Linux box
and hangs on a Ultra5 (sparc-sun-solaris2.7)

[snip]

Doesn’t hang on Solaris2.6 (Ultra1). Does solaris 2.7 implement recursive
mutexes? 2.6 lacks them, so the generic implementation is used.

For some reason the subthread does not appear to run. I’ll check further.

solaris 2.7 does implement recursive mutexes… badly :frowning:
A workaround to this is to compile SDL with the
-DPTHREAD_NO_RECURSIVE_MUTEX and it works just fine (thus SMPEG works
fine too).

Vivien Chappelier.

solaris 2.7 does implement recursive mutexes… badly :frowning:
A workaround to this is to compile SDL with the
-DPTHREAD_NO_RECURSIVE_MUTEX and it works just fine (thus SMPEG works
fine too).

Is there a way to determine if the recursive mutexen are broken? Then
we should include it in the configure script to do this automatically

solaris 2.7 does implement recursive mutexes… badly :frowning:
A workaround to this is to compile SDL with the
-DPTHREAD_NO_RECURSIVE_MUTEX and it works just fine (thus SMPEG works
fine too).

Thanks, I’ve fixed this in CVS.

See ya!
-Sam Lantinga, Lead Programmer, Loki Entertainment Software

solaris 2.7 does implement recursive mutexes… badly :frowning:
A workaround to this is to compile SDL with the
-DPTHREAD_NO_RECURSIVE_MUTEX and it works just fine (thus SMPEG works
fine too).

Is there a way to determine if the recursive mutexen are broken? Then
we should include it in the configure script to do this automatically

I uh, just define it for Solaris. :slight_smile:

See ya!
-Sam Lantinga, Lead Programmer, Loki Entertainment Software