Browse Source

Provide hook so that rthreads can provide a spinlock to protect from races

in lazy binding. ok art@, kurt@
OPENBSD_4_2
drahn 17 years ago
parent
commit
242794d6d7
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/include/dlfcn.h

+ 2
- 1
src/include/dlfcn.h View File

@ -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 $ */ /* $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_GETREFCNT x
#define DL_GETLOADADDR x #define DL_GETLOADADDR x
#define DL_SETTHREADLCK 2 #define DL_SETTHREADLCK 2
#define DL_SETBINDLCK 3
#endif /* _DLFCN_H_ */ #endif /* _DLFCN_H_ */

Loading…
Cancel
Save