[Openal] AL error states and threads
Daniel PEACOCK
dpeacock at creativelabs.com
Mon Nov 26 11:16:59 PST 2007
Hi Brian,
>> If I have two threads, A and B, does a bad alSomething
>> call on thread A return an error for alGetError in thread B?
Unfortunately the answer is "yes" because the error is stored per-Context.
This is one of the downsides to have function calls that don't return error
codes.
Dan
Creative Labs, Inc.
Notice
The information in this message is confidential and may be legally
privileged. It is intended solely for the addressee. Access to this
message by anyone else is unauthorized. If you are not the intended
recipient, any disclosure, copying or distribution of the message, or
any action taken by you in reliance on it, is prohibited and may be
unlawful. If you have received this message in error, please delete it
and contact the sender immediately. Thank you.
Brian Meidell
Andersen
<brian at gameequati To
on.com> openal at opensource.creative.com
Sent by: cc
openal-bounces at op
ensource.creative Subject
.com [Openal] AL error states and
threads
11/22/2007 02:19
AM
Hi,
I've been unable to find a clear answer for this:
If I have two threads, A and B, does a bad alSomething call on thread
A return an error for alGetError in thread B?
i.e. is the error state stored per thread or globally/per context/
something else?
I hope someone can answer.
Thanks,
Brian
---
Brian Meidell Andersen
Founder and programmer
The Game Equation
http://www.gameequation.com
brian at gameequation.com
_______________________________________________
Openal mailing list
Openal at opensource.creative.com
http://opensource.creative.com/mailman/listinfo/openal
ForwardSourceID:NT000522FA
More information about the Openal
mailing list