From 242794d6d74f6a77a4c23da08af7201108f133fc Mon Sep 17 00:00:00 2001 From: drahn <> Date: Sat, 5 May 2007 15:21:21 +0000 Subject: [PATCH] Provide hook so that rthreads can provide a spinlock to protect from races in lazy binding. ok art@, kurt@ --- src/include/dlfcn.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/include/dlfcn.h b/src/include/dlfcn.h index 3a87daee..992db038 100644 --- a/src/include/dlfcn.h +++ b/src/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_ */