Skip to content

Commit

Permalink
Library - Revert doc change 229ae1a
Browse files Browse the repository at this point in the history
  • Loading branch information
Liryna committed Feb 6, 2022
1 parent fb8aee0 commit 376cb88
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dokan/dokan.c
Original file line number Diff line number Diff line change
Expand Up @@ -545,8 +545,7 @@ VOID CALLBACK DispatchCallback(PTP_CALLBACK_INSTANCE Instance, PVOID Parameter,
--eventContextBatchCount;
// It is unsafe to access the context from here after Queuing the event.
context = (PEVENT_CONTEXT)((PCHAR)(context) + context->Length);
// 4 - All batched events are dispatched to the thread pool except the last event
// that is executed on the current thread if we are not the main pull thread.
// 4 - All batched events are dispatched to the thread pool except the last event that is executed on the current thread.
// Note: Single thread mode has batching disabled and therefore only has one event which is executed on the main thread.
if (eventContextBatchCount) {
QueueIoEvent(ioEvent);
Expand Down

0 comments on commit 376cb88

Please sign in to comment.