Bosko Milekic af76144992 - Add sx_descr description member to sx lock structure
- Add sx_xholder member to sx struct which is used for INVARIANTS-enabled
  assertions. It indicates the thread that presently owns the xlock.
- Add some assertions to the sx lock code that will detect the fatal
  API abuse:
     xlock --> xlock
     xlock --> slock
  which now works thanks to sx_xholder.
  Notice that the remaining two problematic cases:
     slock --> xlock
     slock --> slock (a little less problematic, but still recursion)
  will need to be handled by witness eventually, as they are more
  involved.

Reviewed by: jhb, jake, jasone
2001-03-06 06:17:05 +00:00
..
2001-01-28 06:39:56 +00:00
2001-01-24 08:42:39 +00:00
2000-12-02 05:45:32 +00:00
2001-02-06 11:21:58 +00:00
2001-02-09 16:27:41 +00:00
2001-02-11 10:44:09 +00:00
2000-12-01 08:57:47 +00:00
2001-01-01 23:09:53 +00:00
1999-08-28 01:08:13 +00:00
2001-02-22 13:46:09 +00:00
2000-12-31 23:12:20 +00:00
2000-12-28 12:17:35 +00:00
2000-09-29 13:36:47 +00:00
2000-05-01 20:32:07 +00:00
2000-04-22 15:13:06 +00:00
2001-02-06 11:21:58 +00:00
2000-12-02 05:45:32 +00:00
2000-12-01 08:57:47 +00:00
1999-08-28 01:08:13 +00:00
2001-01-29 10:06:22 +00:00
2001-02-06 11:21:58 +00:00
2001-03-04 06:04:50 +00:00
2001-03-01 21:00:17 +00:00
2001-03-01 21:00:17 +00:00