projects
/
yaz-moved-to-github.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add new mutex create where mutex attribute can be set
[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
pthread_mutexattr_t *attr;
12
#endif
13
char *name;
14
int log_level;
15
};
16