Attilio Rao f08945a7d2 Introduce a new rwlocks initialization function: rw_init_flags.
This is very similar to sx_init_flags: it initializes the rwlock using
special flags passed as third argument (RW_DUPOK, RW_NOPROFILE,
RW_NOWITNESS, RW_QUIET, RW_RECURSE).
Among these, the most important new feature is probabilly that rwlocks
can be acquired recursively now (for both shared and exclusive paths).

Because of the recursion counter, the ABI is changed.

Tested by: Timothy Redaelli <drizzt@gufi.org>
Reviewed by: jhb
Approved by: jeff (mentor)
Approved by: re
2007-06-26 21:31:56 +00:00
..
2005-05-31 15:18:17 +00:00
2007-03-16 13:39:04 +00:00
2006-03-23 08:47:28 +00:00
2006-09-21 01:38:58 +00:00
2006-08-16 09:34:56 +00:00
2005-05-08 11:30:26 +00:00
2006-09-22 22:11:29 +00:00
2005-01-07 19:31:43 +00:00
2007-04-09 22:29:13 +00:00
2005-10-03 14:06:00 +00:00
2005-12-26 22:09:09 +00:00
2007-04-03 17:57:50 +00:00
2007-05-17 16:03:14 +00:00
2007-02-06 16:24:57 +00:00
2005-12-30 11:45:07 +00:00
2005-09-19 08:07:18 +00:00
2005-04-02 12:33:31 +00:00
2006-03-28 16:20:29 +00:00
2006-03-28 16:20:29 +00:00
2006-11-11 16:19:12 +00:00
2006-11-26 11:55:48 +00:00
2006-03-01 06:48:31 +00:00
2007-06-15 16:09:47 +00:00
2006-11-29 19:08:45 +00:00
2007-06-10 21:59:14 +00:00