Commit Graph

27 Commits

Author SHA1 Message Date
Michael Davidsaver
60f6646520 more compat 2017-11-01 16:44:22 -05:00
Michael Davidsaver
6d466bb847 cleanup prints 2017-11-01 15:56:35 -05:00
Michael Davidsaver
943247f0f0 remove g++ or c++11 requirement
^#$*&#$ MSVC
2017-11-01 10:04:36 -05:00
Ralph Lange
8f735fac3a Fix dll decorations in moncache, gwmain, pdbsingle 2017-09-28 13:13:49 +02:00
Michael Davidsaver
51f5480996 use newer API 2017-06-29 11:36:35 +02:00
Michael Davidsaver
8d187e4493 trap unexpected monitor reuse 2016-09-03 19:23:00 -04:00
Michael Davidsaver
e35f06cb00 more monitor delta handling 2016-02-17 12:50:28 -05:00
Michael Davidsaver
ceefb62cff more lastelem 2016-02-06 22:21:06 -05:00
Michael Davidsaver
c863aae2f0 copy lastelem
can't keep this when the default queue size is 2.
2016-02-05 13:54:17 -05:00
Michael Davidsaver
03f666c3f6 fixups 2016-01-29 18:34:59 -05:00
Michael Davidsaver
aecd8471e1 more ref. count tracking and break some loops 2016-01-29 16:15:34 -05:00
Michael Davidsaver
f081e10c62 fixups 2016-01-29 14:04:36 -05:00
Michael Davidsaver
ef05aed964 minor 2016-01-29 11:06:42 -05:00
Michael Davidsaver
03db900663 rework monitor queuing 2016-01-28 12:17:37 -05:00
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