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