Esempio n. 1
0
        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();
        }
Esempio n. 2
0
 public void Release()
 {
     buffer.Release();
 }