提交 73dad6c3 编写于 作者: C CyrusNajmabadi

Add comment

上级 6a46022b
......@@ -108,6 +108,10 @@ async Task<Task> GetWriteTask()
// We have our own writes to process. Enqueue the task to write
// these out after the existing write-task for this queue completes.
//
// We're currently under a lock, so tell the continuation to run
// *asynchronously* so that the TPL does not try to execute it inline
// with this thread.
var nextTask = existingWriteTask.ContinueWith(
_ => ProcessWriteQueue(connection, writesToProcess),
cancellationToken,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册