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

Marcel van Lieshout marcel at hmcs.nl
Sat May 20 19:30:09 GMT 2006

Perhaps, but the application is already pretty complex. I really want to go 
the safe way:
What would be the best?
- two handles and an appropiate filter for the send-only handle
- one handle, synchronised by criticalsection calls.

Guy Harris wrote:
> Marcel van Lieshout wrote:
>> 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=================
> Sending in one thread and receiving in another thread might be an
> exception to that.
> _______________________________________________
> 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