I am a beginner of NDIS Miniport Driver.
When I am learning the knowledge of this field, I can not understand the mean of “WorkItem” which was introduced in NdisInitializeWorkItem and NdisScheduleWorkItem.
Is there anybody could tell me the mean of WorkItem?
Thanks a lot!
----- Original Message -----
From: “xushu”
> When I am learning the knowledge of this field, I can not understand the
mean of “WorkItem” which was introduced in NdisInitializeWorkItem and
NdisScheduleWorkItem.
>
A work item is a routine and a context pointer you wish
to have run on one of the system worker threads. Typically, this is done
because you are at DISPATCH_LEVEL
IRQL and need to perform an operation that must run at
less than DISPATCH_LEVEL, for example allocating or
freeing memory. One thing to note on work items, they
should not take a long time, there are a limited number
of worker threads and they are a system wide resource.
Don Burn
Egenera, Inc.
Read an MSDN article on IoQueueWorkItem.
----- Original Message -----
From: “xushu”
To: “NT Developers Interest List”
Sent: Monday, September 02, 2002 11:53 AM
Subject: [ntdev] the mean of “WorkItem”
> I am a beginner of NDIS Miniport Driver.
>
> When I am learning the knowledge of this field, I can not understand
the mean of “WorkItem” which was introduced in NdisInitializeWorkItem
and NdisScheduleWorkItem.
>
> Is there anybody could tell me the mean of WorkItem?
>
> Thanks a lot!
>
>
>
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to %%email.unsub%%
>