diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-09-07 13:29:54 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-09-07 13:29:54 +0200 |
commit | a879b4e708b3e46c9697ba6581687eeb5b02a320 (patch) | |
tree | f85acc5cb1a7c0b03a050c879c20cab3deb9f40e /spectro/conv.h | |
parent | 556dffcdad42b938bc196819aa463247de709765 (diff) | |
parent | c07d0c2d2f6f7b0eb6e92cc6204bf05037957e82 (diff) |
state from 2014-09-07 13:30 MESZ
Diffstat (limited to 'spectro/conv.h')
-rw-r--r-- | spectro/conv.h | 6 |
1 files changed, 6 insertions, 0 deletions
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 */ + +/* - - - - - - - - - - - - - - - - - - -- */ + + /* - - - - - - - - - - - - - - - - - - -- */ |