From c07d0c2d2f6f7b0eb6e92cc6204bf05037957e82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Mon, 1 Sep 2014 15:43:52 +0200 Subject: Imported Upstream version 1.6.3 --- spectro/conv.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'spectro/conv.h') diff --git a/spectro/conv.h b/spectro/conv.h index ab5e850..5d63efe 100644 --- a/spectro/conv.h +++ b/spectro/conv.h @@ -151,6 +151,7 @@ int set_normal_priority(); #ifdef NT # define amutex CRITICAL_SECTION +# define amutex_static(lock) CRITICAL_SECTION lock = { NULL, -1 } # define amutex_init(lock) InitializeCriticalSection(&(lock)) # define amutex_del(lock) DeleteCriticalSection(&(lock)) # define amutex_lock(lock) EnterCriticalSection(&(lock)) @@ -160,6 +161,7 @@ int set_normal_priority(); #ifdef UNIX # define amutex pthread_mutex_t +# define amutex_static(lock) pthread_mutex_t (lock) = PTHREAD_MUTEX_INITIALIZER # define amutex_init(lock) pthread_mutex_init(&(lock), NULL) # define amutex_del(lock) pthread_mutex_destroy(&(lock)) # define amutex_lock(lock) pthread_mutex_lock(&(lock)) @@ -286,6 +288,10 @@ int sa_lu_psinvert(double **out, double **in, int m, int n); #define lu_psinvert sa_lu_psinvert #endif /* SALONEINSTLIB */ + +/* - - - - - - - - - - - - - - - - - - -- */ + + /* - - - - - - - - - - - - - - - - - - -- */ -- cgit v1.2.3