[Winpcap-users] Filters in a multi-threading application

Marcel van Lieshout marcel at hmcs.nl
Sat May 20 18:52:47 GMT 2006


I don't know. I decided not to go that way after reading this on this list a 
few weeks ago:

=snip=================
>> 1. Can i access the same descriptor in different thread without
>> synchronization?
>
> Accessing any kind of handle or descriptor from different threads
> without solid synchronization is evil.
=/snip=================

Marcel

Guy Harris wrote:
> Marcel van Lieshout wrote:
>
>> I'm working on an application where (through winpcap) packets are
>> received and sent. I have created two threads: one will only receive
>> packets, the other will only send packets. Both threads have their
>> own handle to the same
>> adapter.
>
> Does having the two threads use the same handle not work?
>
>
> _______________________________________________
> Winpcap-users mailing list
> Winpcap-users at winpcap.org
> https://www.winpcap.org/mailman/listinfo/winpcap-users 



More information about the Winpcap-users mailing list