rx-finer-grained-locking-20090110
authorJeffrey Altman <jaltman@your-file-system.com>
Sun, 11 Jan 2009 05:27:01 +0000 (05:27 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Sun, 11 Jan 2009 05:27:01 +0000 (05:27 +0000)
commit887a6eb59b5aa87bc8a5c3ec1fc78f80ac19a6f2
tree6c1be79a59174687641ecd851a25915a249d9922
parent5b0e23567e1ed64f448bb3253ad90d39cad31271
rx-finer-grained-locking-20090110

LICENSE MIT

not everything should be under the rx_stats_mutex.  doing so
results in too much lock contention.  add new mutexes:
rx_quota_mutex, rx_waiting_mutex, rx_pthread_mutex, and rx_packets_mutex.
Each new mutex protects an associated group of variables.
src/rx/rx.c
src/rx/rx_globals.h
src/rx/rx_kcommon.c
src/rx/rx_packet.c
src/rx/rx_pthread.c