Pawel Jakub Dawidek
95708c5fe3
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-05-19 18:53:50 +00:00
2006-05-19 11:27:02 +00:00
2006-05-14 19:04:12 +00:00
2006-03-04 16:54:21 +00:00
2006-05-16 14:37:58 +00:00
2006-05-16 14:37:58 +00:00
2006-05-16 17:57:00 +00:00
2006-05-18 23:30:48 +00:00
2006-05-16 14:37:58 +00:00
2006-04-20 06:31:44 +00:00
2006-05-11 21:59:55 +00:00
2006-05-19 03:51:42 +00:00
2006-05-16 14:37:58 +00:00
2006-03-23 23:06:14 +00:00
2006-05-04 13:01:16 +00:00
2006-05-05 18:41:56 +00:00
2006-05-16 14:37:58 +00:00
2006-05-19 18:53:50 +00:00
2006-05-17 20:45:45 +00:00
2006-05-12 05:04:46 +00:00
2006-03-13 22:32:33 +00:00
2006-05-19 06:37:24 +00:00
2006-05-11 22:25:28 +00:00
2006-05-18 23:30:48 +00:00
2006-05-17 17:05:02 +00:00
2006-04-28 19:06:15 +00:00
2006-04-01 16:54:37 +00:00
2006-04-01 15:42:02 +00:00
2006-05-17 00:13:07 +00:00
2006-05-18 19:51:08 +00:00
2006-05-20 13:26:08 +00:00
2006-05-20 15:35:36 +00:00
2006-04-11 23:15:47 +00:00
2006-04-01 15:55:44 +00:00
2006-04-23 16:33:56 +00:00
2006-01-14 11:40:32 +00:00
2006-03-05 22:52:17 +00:00
2006-05-19 00:04:24 +00:00
2006-05-19 00:04:24 +00:00
2006-04-25 00:21:56 +00:00
2006-05-18 06:28:39 +00:00
2006-05-17 21:25:23 +00:00
2006-01-15 06:49:28 +00:00
2006-05-16 16:19:48 +00:00
2006-05-19 06:37:24 +00:00
2006-05-16 14:37:58 +00:00
2006-01-20 15:20:41 +00:00
2006-04-26 14:18:55 +00:00
2006-05-16 14:37:58 +00:00
2006-05-18 08:43:46 +00:00
2006-01-30 16:32:08 +00:00
2006-05-16 18:51:22 +00:00
2006-05-13 20:05:44 +00:00
2006-03-17 18:54:44 +00:00