Chris Robinson
|
f24cb44781
|
Move the device mutex to the backend
|
2013-10-28 12:05:33 -07:00 |
|
Chris Robinson
|
58e3dc3d52
|
Add a SIGTRAP for when alGetError is called without a context
|
2012-04-24 21:41:01 -07:00 |
|
Chris Robinson
|
bed37a148c
|
Use raise(SIGTRAP) instead of kill(getpid(),SIGTRAP)
|
2011-09-30 20:46:18 -07:00 |
|
Chris Robinson
|
2171aaa35c
|
Use IsDebuggerPresent instead of the VC-only __try/__except
|
2011-09-14 02:10:42 -07:00 |
|
Chris Robinson
|
724ad0d893
|
Add an option to trap context errors in a debugger
|
2011-09-10 01:12:34 -07:00 |
|
Chris Robinson
|
9fb91f70aa
|
Rename GetReffedContext to GetContextRef
|
2011-08-30 23:28:38 -07:00 |
|
Chris Robinson
|
7408396fd4
|
Use a generic int type to handle enum swaps
|
2011-08-29 21:30:12 -07:00 |
|
Chris Robinson
|
da081b81c4
|
Do a compare-exchange to set the context error
This allows for unlocked context access when getting the error
|
2011-08-29 20:52:13 -07:00 |
|
Chris Robinson
|
500ad776ea
|
Exchange the AL error when retrieving it
|
2011-08-29 20:34:47 -07:00 |
|
Chris Robinson
|
723755788d
|
Rename Suspend/ProcessContext since they are locking a mutex
|
2011-06-30 18:10:04 -07:00 |
|
Chris Robinson
|
a572b13743
|
Don't use deprecated macros
|
2010-03-19 14:34:18 -07:00 |
|
Chris Robinson
|
f37cfc486d
|
Pass the context to alSetError
|
2010-03-16 17:35:51 -07:00 |
|
Chris Robinson
|
c8f700930a
|
More modifications and fixes for context checks
|
2009-08-16 16:02:13 -07:00 |
|
Chris Robinson
|
462f27c129
|
Use a function to retrieve the current context in an already-locked state
This should help prevent race-conditions with a context being destroyed between
breing retrieved and locked
|
2009-08-16 14:09:23 -07:00 |
|
Chris Robinson
|
6735fc7911
|
Add missing config.h includes
|
2008-01-16 14:09:04 -08:00 |
|
Chris Robinson
|
6d12dcda10
|
Only set an error condition if no other error is set
|
2007-11-22 06:51:47 -08:00 |
|
Chris Robinson
|
ae5f4e9a74
|
Initial import
|
2007-11-13 18:02:18 -08:00 |
|