summaryrefslogtreecommitdiff
path: root/include/urweb/types_cpp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/urweb/types_cpp.h')
-rw-r--r--include/urweb/types_cpp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/urweb/types_cpp.h b/include/urweb/types_cpp.h
index 82f8d30a..ce0f2825 100644
--- a/include/urweb/types_cpp.h
+++ b/include/urweb/types_cpp.h
@@ -133,7 +133,8 @@ typedef struct uw_Sqlcache_Value {
typedef struct uw_Sqlcache_Entry uw_Sqlcache_Entry;
typedef struct uw_Sqlcache_Cache {
- pthread_rwlock_t lock;
+ pthread_rwlock_t lockOut;
+ pthread_rwlock_t lockIn;
uw_Sqlcache_Entry *table;
unsigned long timeInvalid;
unsigned long timeNow;