diff options
Diffstat (limited to 'updater/sql/win/src/threading.h')
-rwxr-xr-x | updater/sql/win/src/threading.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/updater/sql/win/src/threading.h b/updater/sql/win/src/threading.h new file mode 100755 index 0000000..7c7139b --- /dev/null +++ b/updater/sql/win/src/threading.h @@ -0,0 +1,10 @@ +#ifndef NODE_SQLITE3_SRC_THREADING_H +#define NODE_SQLITE3_SRC_THREADING_H + +#define NODE_SQLITE3_MUTEX_t uv_mutex_t mutex; +#define NODE_SQLITE3_MUTEX_INIT uv_mutex_init(&mutex); +#define NODE_SQLITE3_MUTEX_LOCK(m) uv_mutex_lock(m); +#define NODE_SQLITE3_MUTEX_UNLOCK(m) uv_mutex_unlock(m); +#define NODE_SQLITE3_MUTEX_DESTROY uv_mutex_destroy(&mutex); + +#endif // NODE_SQLITE3_SRC_THREADING_H |