Commit 59b2848a authored by Marko Mäkelä's avatar Marko Mäkelä

Fix the SRW_LOCK_DUMMY build with PLUGIN_PERFSCHEMA=NO

srw_lock_low: Declare the member functions public when wrapping rw_lock_t
parent 20da7b22
......@@ -121,6 +121,7 @@ class srw_lock_low
void wr_unlock() { ReleaseSRWLockExclusive(&lock); }
# else
rw_lock_t lock;
public:
void init() { my_rwlock_init(&lock, nullptr); }
void destroy() { rwlock_destroy(&lock); }
void rd_lock() { rw_rdlock(&lock); }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment