blob: 1c2572159e4c77d4c834d6ab65992a666decca72 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
/*++
Copyright (c) 1989 Microsoft Corporation
Module Name:
dpc.c
Abstract:
This modules contains the set of functions in the mailslot file
system that are callable at DPC level.
Author:
Manny Weiser (mannyw) 28-Jan-1991
Revision History:
--*/
#include "mailslot.h"
//
// The debug trace level
//
#define Dbg (DEBUG_TRACE_DPC)
#if 0
NOT PAGEABLE -- MsReadTimeoutHandler
#endif
VOID
MsReadTimeoutHandler (
IN PKDPC Dpc,
IN PVOID DeferredContext,
IN PVOID SystemArgument1,
IN PVOID SystemArgument2
)
/*++
Routine Description:
This routine is handles read timeouts. It is called as a DPC whenever
a read timer expires.
*** Non-Pageable ***
Arguments:
Dpc - A pointer to the DPC object.
DeferredContext - A pointer to the data queue entry associated with
this timer.
SystemArgument1, SystemArgument2 - Unused.
Return Value:
None.
--*/
{
PWORK_CONTEXT workContext;
Dpc, SystemArgument1, SystemArgument2; // prevent warnings
//
// Enqueue this packet to an ex worker thread.
//
workContext = DeferredContext;
ExQueueWorkItem( &workContext->WorkItem, CriticalWorkQueue );
}
|