projects
/
pazpar2-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into fetch_more
[pazpar2-moved-to-github.git]
/
src
/
ppmutex.c
diff --git
a/src/ppmutex.c
b/src/ppmutex.c
index
c74cac1
..
8212653
100644
(file)
--- a/
src/ppmutex.c
+++ b/
src/ppmutex.c
@@
-1,5
+1,5
@@
/* This file is part of Pazpar2.
/* This file is part of Pazpar2.
- Copyright (C) 2006-2010 Index Data
+ Copyright (C) 2006-2013 Index Data
Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
@@
-36,17
+36,13
@@
void pazpar2_mutex_init(void)
ppmutex_level = yaz_log_module_level("mutex");
}
ppmutex_level = yaz_log_module_level("mutex");
}
-void pazpar2_mutex_create_flag(YAZ_MUTEX *p, const char *name, int flags)
+void pazpar2_mutex_create(YAZ_MUTEX *p, const char *name)
{
assert(p);
{
assert(p);
- yaz_mutex_create_attr(p, flags);
+ yaz_mutex_create(p);
yaz_mutex_set_name(*p, ppmutex_level, name);
}
yaz_mutex_set_name(*p, ppmutex_level, name);
}
-void pazpar2_mutex_create(YAZ_MUTEX *p, const char *name) {
- pazpar2_mutex_create_flag(p, name, 0);
-}
-
/*
* Local variables:
* c-basic-offset: 4
/*
* Local variables:
* c-basic-offset: 4