Пример #1
0
        public EventLoopContext()
        {
            var id = Interlocked.Increment(ref s_id);

            m_processor = new QueueProcessor("Event " + id,
                () => SynchronizationContext.SetSynchronizationContext(this));
        }
Пример #2
0
 public QueueLogger(params ILogger[] loggers)
 {
     m_loggers = loggers;
     m_processor = new QueueProcessor("Log");
 }