コード例 #1
0
 public bool SetBlocks(byte[] bufffer, int offset, int size)
 {
     using (new LockWait(ref _lockParam))
     {
         return(_packetQueue.SetBlock(bufffer, offset, size));
     }
 }
コード例 #2
0
 public bool SetBlocks(byte[] bufffer, int offset, int size)
 {
     lock (lockObject)
     {
         return(packetQueue.SetBlock(bufffer, offset, size));
     }
 }