Use the new locking algorithm from Alan and Miquel.
authornbk <nbk>
Fri, 13 May 2005 17:03:38 +0000 (17:03 +0000)
committernbk <nbk>
Fri, 13 May 2005 17:03:38 +0000 (17:03 +0000)
commit2cd0e1bd225df506c42a92518a31986f170fb954
tree1b538759f83db992e2800a9a3ff279ce375fac1c
parent5e8be6ee26add3b04a782688f6b33b78d5ade58f
Use the new locking algorithm from Alan and Miquel.

open()
trylock()
fail = close, goto open (with counter /and msleep/)
fstat()
if (st.nlink == 0) close, goto open
src/modules/rlm_detail/rlm_detail.c