private EventLoopSynchronizationContext(EventLoop eventLoop, int managedThreadId)
 {
     ManagedThreadId = managedThreadId;
     _eventLoop      = eventLoop;
     _events         = new ConcurrentQueue <SynchronizationEventData>();
 }
 public EventLoopSynchronizationContext(EventLoop eventLoop)
     : this(eventLoop, Thread.CurrentThread.ManagedThreadId)
 {
 }