----- Original Message -----
From: "Jay Sillars" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 30, 2002 12:40 AM
Subject: [WinPcap-users] FW: SetProcessAffinityMask



> I understand that win-pcap has not been written or tested to work on
> SMP machines.
> Is there any way to set the processor affinity for my process and or
> the winpcap device driver so that it will be limited to using a single
> processor?

It is not possible to set the "driver" affinity mask.

I use "..." for the driver, since the driver is different from a user level
program, it does not have a main or such.


> If I use SetProcessAffinityMask in my application will it have any
> affect on which processor the device driver uses?
> We will only have one process using the driver.

Absolutely no! It affect the driver function that trasfer data from kernel
level to user level (because it runs in the context of the calling thread,
that is to say the user application). Instead, the function that is called
by the OS and receives packets from the network card runs in the "context of
a system thread" (quite complicated things...), in practice it can run on
every processor.
However, I think we will work on the SMP issue in the next months (do not
ask me when, I don't know).

GV


>
>
>


======================
 This is the WinPcap users list. It is archived at
 http://www.mail-archive.com/[email protected]/

 To unsubscribe use
 mailto: [EMAIL PROTECTED]?body=subscribe
======================






==================================================================
 This is the WinPcap users list. It is archived at
 http://www.mail-archive.com/[email protected]/

 To unsubscribe use 
 mailto: [EMAIL PROTECTED]?body=unsubscribe
==================================================================

Reply via email to