MCPcopy Create free account
hub / github.com/bobranten/Ext4Fsd / Ext2StopReaper

Function Ext2StopReaper

Ext4Fsd/memory.c:3510–3526  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3508
3509
3510VOID
3511Ext2StopReaper(PEXT2_REAPER Reaper)
3512{
3513 LARGE_INTEGER timeout;
3514
3515 Reaper->Flags |= EXT2_REAPER_FLAG_STOP;
3516 KeSetEvent(&Reaper->Wait, 0, FALSE);
3517
3518 /* make sure Reaperthread is started */
3519 timeout.QuadPart = (LONGLONG)-10*1000*1000*2; /* 2 seconds */
3520 KeWaitForSingleObject(
3521 &Reaper->Engine,
3522 Executive,
3523 KernelMode,
3524 FALSE,
3525 &timeout);
3526}

Callers 1

DriverEntryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected