public void Send(ReferenceCountedMessage m) { Profiler.BeginSample("Send"); foreach (var c in connections) { m.Acquire(); c.Send(m); } m.Release(); // m should have been acquired once on creation. Profiler.EndSample(); }
public void Acquire() { buffer.Acquire(); }