diff include/urweb/urweb_cpp.h @ 2288:98f96a976ede

Finish locking, but it's not yet tested rigorously.
author Ziv Scully <ziv@mit.edu>
date Fri, 13 Nov 2015 11:03:09 -0500
parents ad3ce1528f71
children
line wrap: on
line diff
--- a/include/urweb/urweb_cpp.h	Fri Nov 13 01:05:22 2015 -0500
+++ b/include/urweb/urweb_cpp.h	Fri Nov 13 11:03:09 2015 -0500
@@ -406,6 +406,8 @@
 
 // Sqlcache.
 
+void *uw_Sqlcache_rlock(struct uw_context *, uw_Sqlcache_Cache *);
+void *uw_Sqlcache_wlock(struct uw_context *, uw_Sqlcache_Cache *);
 uw_Sqlcache_Value *uw_Sqlcache_check(struct uw_context *, uw_Sqlcache_Cache *, char **);
 void *uw_Sqlcache_store(struct uw_context *, uw_Sqlcache_Cache *, char **, uw_Sqlcache_Value *);
 void *uw_Sqlcache_flush(struct uw_context *, uw_Sqlcache_Cache *, char **);