mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] OpenAL: applications and test programs crash


From: Volker Grabsch
Subject: Re: [Mingw-cross-env-list] OpenAL: applications and test programs crash
Date: Sun, 28 Nov 2010 22:35:04 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

Martin Lambers <address@hidden> schrieb:
> On 27/11/10 21:23, Volker Grabsch wrote:
> > 
> > 1) Doesn't this patch disable all thread safety in OpenAL?
> > 
> >    I'm asking because the patch does not only remove the DllMain()
> >    stuff, but also the GCC constructor/destructor attributes ...
> > 
> > 2) Shouldn't we add the calls to alc_init() and alc_deinit()
> >    to the test program, as those won't be called automatically
> >    anymore?
> 
> I think there's a misunderstanding here. The attributes are still used,
> and thus alc_init() and alc_deinit() are called automatically.

Whoops, you are right. So those patches are ugly, but correct. :-)

> Yes, maybe. I'll look into this and see if upstream is interested.
> Static libraries on other systems are already supported, so all that's
> required is one additional option for Windows systems.

I just went ahead and created clean patches that replace the
previous hacks. Those hacks just solved standard issues, so
I was able to simply apply our standard solutions.

I proposed the patches to upstream:
http://opensource.creative.com/pipermail/openal-devel/2010-November/005759.html

Please check whether this works for you.


Greets,
Volker

-- 
Volker Grabsch
---<<(())>>---



reply via email to

[Prev in Thread] Current Thread [Next in Thread]