diff system/System.h @ 368:bef4604d82fa

* munlockall
author Chris Cannam
date Tue, 29 Jan 2008 19:54:54 +0000
parents 15b47d30c085
children ca208281238b
line wrap: on
line diff
--- a/system/System.h	Mon Jan 28 17:43:44 2008 +0000
+++ b/system/System.h	Tue Jan 29 19:54:54 2008 +0000
@@ -25,6 +25,7 @@
 #define MLOCK(a,b)   1
 #define MUNLOCK(a,b) 1
 #define MUNLOCK_SAMPLEBLOCK(a) 1
+#define MUNLOCKALL() 1
 
 #define DLOPEN(a,b)  LoadLibrary((a).toStdWString().c_str())
 #define DLSYM(a,b)   GetProcAddress((HINSTANCE)(a),(b))
@@ -82,6 +83,8 @@
 #define DEFAULT_LADSPA_PATH "$HOME/Library/Audio/Plug-Ins/LADSPA:/Library/Audio/Plug-Ins/LADSPA"
 #define DEFAULT_DSSI_PATH   "$HOME/Library/Audio/Plug-Ins/DSSI:/Library/Audio/Plug-Ins/DSSI"
 
+#define MUNLOCKALL() 1
+
 #else 
 
 #define PLUGIN_GLOB  "*.so"
@@ -90,6 +93,8 @@
 #define DEFAULT_LADSPA_PATH "$HOME/ladspa:$HOME/.ladspa:/usr/local/lib/ladspa:/usr/lib/ladspa"
 #define DEFAULT_DSSI_PATH "$HOME/dssi:$HOME/.dssi:/usr/local/lib/dssi:/usr/lib/dssi"
 
+#define MUNLOCKALL() ::munlockall()
+
 #endif /* __APPLE__ */
 
 #endif /* ! _WIN32 */