Esempio n. 1
0
 public IOThread(int slotId)
     : base(slotId)
 {
     m_completionPort = CompletionPort.Create();
     Mailbox = new IOThreadMailbox(m_completionPort);
     m_completionStatuses = new CompletionStatus[100];
 }
Esempio n. 2
0
 public Proactor([NotNull] string name)
 {
     m_name = name;
     m_stopping = false;
     m_stopped = false;
     m_completionPort = CompletionPort.Create();
     m_sockets = new Dictionary<AsyncSocket, Item>();
 }
Esempio n. 3
0
 public IOThreadMailbox(CompletionPort completionPort)
 {
     m_completionPort = completionPort;
 }