Exemplo n.º 1
0
 private static extern bool GetQueuedCompletionStatus(SafeIOCompletionPortHandle hIOCP, out uint numBytesTransferred, out IntPtr cb, out IntPtr state, uint milliseconds);
Exemplo n.º 2
0
 public IOCompletionPort(int maxConcurrency)
 {
     this.m_hIOCP = IOCompletionPort.CreateIoCompletionPort(maxConcurrency);
 }
Exemplo n.º 3
0
 private static extern SafeIOCompletionPortHandle CreateIoCompletionPort(SafeFileHandle hFile, SafeIOCompletionPortHandle hExistingIOCP, UIntPtr CompKey, uint NumConcurrentThreads);
Exemplo n.º 4
0
 private static extern bool PostQueuedCompletionStatus(SafeIOCompletionPortHandle hIOCP, uint numBytesTransferred, IntPtr cb, IntPtr state);