v0ldem0rt07/21/2018, 9:36 PM
Vsevolod Tolstopyatov [JB]07/22/2018, 11:26 AM
v0ldem0rt07/22/2018, 2:11 PM
groostav07/22/2018, 10:50 PM
, those two in conjunction should could you pretty straight-forward concurrency.
ones, needless to say the results can be pretty strange deadlock. As a result I've put in place a "one or the other" rule, where we simply fobid mixing and matching those two packages
v0ldem0rt07/23/2018, 3:35 PM
that uses the Mutex and wraps the standard map to make it work.
Vsevolod Tolstopyatov [JB]07/23/2018, 4:11 PM
will be visibly slower. Usually it’s not worth to implement your own primitives instead of [well-tested and polished by years] already implemented ones even if there is a small probability of blocking. It’s worth doing after measuring and understanding that CHM is actually a bottleneck (which is unlikely true for an average application)