implement barrier attribute functions (essentially no-ops)
[musl] / src / thread / pthread_barrierattr_init.c
diff --git a/src/thread/pthread_barrierattr_init.c b/src/thread/pthread_barrierattr_init.c
new file mode 100644 (file)
index 0000000..f269827
--- /dev/null
@@ -0,0 +1,7 @@
+#include "pthread_impl.h"
+
+int pthread_barrierattr_init(pthread_barrierattr_t *a)
+{
+       memset(a, 0, sizeof *a);
+       return 0;
+}