lock.9 (6a068746777241722b2b32c5d0bc443a2a64d80b) lock.9 (73bbeaa52983176108b99fe246560723b55e5cf4)
1.\"
2.\" Copyright (C) 2002 Chad David <davidc@acns.ab.ca>. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice(s), this list of conditions and the following disclaimer as

--- 216 unchanged lines hidden (view full) ---

225.Dv LK_WMESG_DEFAULT ,
226.Dv LK_PRIO_DEFAULT
227and
228.Dv LK_TIMO_DEFAULT .
229.Pp
230The
231.Fn lockmgr_disown
232function switches the owner from the current thread to be
1.\"
2.\" Copyright (C) 2002 Chad David <davidc@acns.ab.ca>. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice(s), this list of conditions and the following disclaimer as

--- 216 unchanged lines hidden (view full) ---

225.Dv LK_WMESG_DEFAULT ,
226.Dv LK_PRIO_DEFAULT
227and
228.Dv LK_TIMO_DEFAULT .
229.Pp
230The
231.Fn lockmgr_disown
232function switches the owner from the current thread to be
233.Dv LK_KERNPROC,
233.Dv LK_KERNPROC ,
234if the lock is already held.
235.Pp
236The
237.Fn lockmgr_printinfo
238function prints debugging information about the lock.
239It is used primarily by
240.Xr VOP_PRINT 9
241functions.

--- 148 unchanged lines hidden ---
234if the lock is already held.
235.Pp
236The
237.Fn lockmgr_printinfo
238function prints debugging information about the lock.
239It is used primarily by
240.Xr VOP_PRINT 9
241functions.

--- 148 unchanged lines hidden ---