tcpdump mailing list archives

Re: Is pcap thread-safe?


From: Darren Reed <darrenr () reed wattle id au>
Date: Fri, 23 Apr 2004 11:05:23 +1000 (EST)

In some email I received from Andreas Rieke, sie wrote:
Hi there,

is pcap really thread-safe, especially under linux? Did anybody really 
try to run it on multiple interfaces, one per thread?

The only part that wasn't thread safe (last time I checked)
was pcap_compile().  And yes, I've used pcap_dispatch() in
a multi-threaded linux app successfully.

Darren
-
This is the tcpdump-workers list.
Visit https://lists.sandelman.ca/ to unsubscribe.


Current thread: