Michael Davidsaver
650ed7cf02
cleanup unused
2016-01-06 09:38:33 -05:00
Michael Davidsaver
41491d00bf
avoid potential data races
2015-12-08 21:00:16 -05:00
Michael Davidsaver
3223c5da19
less locking during monitor setup
2015-12-08 18:10:06 -05:00
Michael Davidsaver
5e9ed37613
paranoia
2015-12-08 17:40:37 -05:00
Michael Davidsaver
810377aa34
lock for MonitorCacheEntry
2015-12-08 17:29:46 -05:00
Michael Davidsaver
7de48f0bda
add lock for MonitorUser
2015-12-08 17:03:03 -05:00
Michael Davidsaver
3865745790
cleanup from dtor
...
Avoid unnecessary reset() of otherwise const shared_ptr in destroy()
as this necessities locking for potentially concurrent access.
2015-12-08 16:10:17 -05:00
Michael Davidsaver
b0f855337f
minor
2015-12-08 16:07:38 -05:00
Michael Davidsaver
9fe595722c
very tricky...
...
ChannelMonitorImpl is lobotomized with the smarts going
to MonitorStrategyQueue, both implementing Monitor.
While CMI proxies calls poll/release() to MQS,
it seems that MQS doesn't proxy destroy() to CMI.
So calling destroy() on MQS is a no-op...
2015-12-08 14:45:27 -05:00
Michael Davidsaver
5cd8f0d668
counters for subscription events
2015-12-08 14:02:33 -05:00
Michael Davidsaver
600085d23b
less noise
2015-12-08 13:38:48 -05:00
Michael Davidsaver
81881d90ae
update gwref/gwstatus
...
gwstatus shows monitor information
gwref show live counts when GW not running
2015-12-08 13:17:13 -05:00
Michael Davidsaver
ccdc51e417
monitor cache
2015-12-07 22:25:46 -05:00