summaryrefslogtreecommitdiff
path: root/src/platform/sync.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/platform/sync.h')
-rw-r--r--src/platform/sync.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/platform/sync.h b/src/platform/sync.h
new file mode 100644
index 0000000..1dcf28f
--- /dev/null
+++ b/src/platform/sync.h
@@ -0,0 +1,10 @@
+#ifndef YASL_PLATFORM_SYNC_H
+#define YASL_PLATFORM_SYNC_H
+
+/* The OS support directory selected by Meson provides yasl_mutex and the
+ * yasl_mutex_init/destroy/lock/unlock operations. Init returns zero on success
+ * or an errno value on failure. The other operations require an initialized
+ * mutex. Native types and calls stay in the selected implementation header. */
+#include "yasl_platform_sync.h"
+
+#endif