How safe is it going to be to re-use pcap_compile() multiple times
from within the same program space, on different threads for different
network interfaces ?

If I have a program that spawns 4 threads at the same time, and each
one does a pcap_compile() for its own NIC, can I expect the program
to die a sudden and nasty death due to it being completely thread
unsafe?

I notice there are no mentions of thread safety or thread issues
anywhere in the man pages...is this something that should be addressed?
if it were, would the patches be well accepted if they didn't change
the external API ?

Darren

-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:[EMAIL PROTECTED]

Reply via email to