Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
[yaz-moved-to-github.git] / src / mutex-p.h
1 /* This file is part of the YAZ toolkit.
2  * Copyright (C) 1995-2010 Index Data
3  * See the file LICENSE for details.
4  */
5
6 struct yaz_mutex {
7 #ifdef WIN32
8     CRITICAL_SECTION handle;
9 #elif YAZ_POSIX_THREADS
10     pthread_mutex_t handle;
11 #endif
12     char *name;
13     int log_level;
14 };
15