pjd c1590119a6 Prevent disappearing SAD entries by implementing MPsafe refcounting.
"Why didn't he use SECASVAR_LOCK()/SECASVAR_UNLOCK() macros to
 synchronize access to the secasvar structure's fields?" one may ask.
There were two reasons:
1. refcount(9) is faster then mutex(9) synchronization (one atomic
   operation instead of two).
2. Those macros are not used now at all, so at some point we may decide
   to remove them entirely.

OK'ed by:	gnn
MFC after:	2 weeks
2006-05-20 15:35:36 +00:00
..
2006-03-25 13:38:52 +00:00
2006-03-25 13:38:52 +00:00
2006-01-21 10:44:34 +00:00
2006-03-25 13:38:52 +00:00
2006-03-30 18:57:04 +00:00