Subject: Calling lockmgr in emul exit hook
To: None <tech-kern@netbsd.org>
From: Emmanuel Dreyfus <manu@netbsd.org>
List: tech-kern
Date: 08/04/2002 22:48:27
Hi

I need to do a call to lockmgr() in irix_e_proc_exit().  Jaromir pointed
out that I am not allowed to sleep at the time irix_e_proc_exit() is
called from exit1(). This is written in a comment earlier in exit1().
And lockmgr() could sleep.

I wonder if calling lockmgr() with LK_SPIN is the right fix to this
problem. Is it?

-- 
Emmanuel Dreyfus.
manu@netbsd.org