RE: pcap/bpf in a multi-threaded environment

2001-11-09 Thread Guy Helmer
On Friday, November 09, 2001 5:56 AM Edwin Groothuis [EMAIL PROTECTED] wrote: The past couple of days I've been plagued by a strange behaviour of something between libpcap and the bpf-device. As you can read in PR bin/31649, the behaviour of libpcap is very different if you compile it on gcc

Re: pcap/bpf in a multi-threaded environment

2001-11-09 Thread Edwin Groothuis
On Fri, Nov 09, 2001 at 10:56:30AM -0600, Guy Helmer wrote: The problem is probably due to the poll system call that the threaded library does before performing the read(). In the non-threaded case, the read() returns when the timeout is hit; in the threaded case, the threaded library's