Steve Passe 2645264a72 Debug version of simple_lock. This will store the CPU id of the
holding CPU along with the lock.  When a CPU fails to get the lock
it compares its own id to the holder id.  If they are the same it
panic()s, as simple locks are binary, and this would cause a deadlock.

Controlled by smptests.h: SL_DEBUG, ON by default.

Some minor cleanup.
1997-08-31 03:17:48 +00:00
..
1997-05-05 09:34:33 +00:00
1997-08-30 08:08:10 +00:00
1997-08-09 00:04:06 +00:00
1997-08-09 00:04:06 +00:00
1997-08-09 00:04:06 +00:00
1997-08-30 08:08:10 +00:00
1997-08-09 00:04:06 +00:00
1997-08-30 08:08:10 +00:00
1997-08-09 00:04:06 +00:00