summaryrefslogtreecommitdiff
path: root/include/dlfcn.h
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2007-05-05 15:21:22 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2007-05-05 15:21:22 +0000
commitb769e807d32df4b2769d521a9f2e07fa5636ad46 (patch)
treea84bec994dddd31b2cb2cb0ba6947ebfc34e71e2 /include/dlfcn.h
parent65314bd4b49f9cce5a6d3f3c9cf77bc7272e60fa (diff)
Provide hook so that rthreads can provide a spinlock to protect from races
in lazy binding. ok art@, kurt@
Diffstat (limited to 'include/dlfcn.h')
-rw-r--r--include/dlfcn.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/dlfcn.h b/include/dlfcn.h
index 3a87daee962..992db0387d7 100644
--- a/include/dlfcn.h
+++ b/include/dlfcn.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: dlfcn.h,v 1.9 2004/08/11 19:14:56 drahn Exp $ */
+/* $OpenBSD: dlfcn.h,v 1.10 2007/05/05 15:21:21 drahn Exp $ */
/* $NetBSD: dlfcn.h,v 1.2 1995/06/05 19:38:00 pk Exp $ */
/*
@@ -81,5 +81,6 @@ __END_DECLS
#define DL_GETREFCNT x
#define DL_GETLOADADDR x
#define DL_SETTHREADLCK 2
+#define DL_SETBINDLCK 3
#endif /* _DLFCN_H_ */