Date: Fri, 6 Jul 2001 09:18:05 -0700 (PDT) From: John Polstra <jdp@polstra.com> To: stable@freebsd.org Cc: lamont@scriptkiddie.org Subject: Re: bpf/libpcap and pthreads Message-ID: <200107061618.f66GI5L15965@vashon.polstra.com> In-Reply-To: <20010706010251.W94746-100000@warez.scriptkiddie.org> References: <20010706010251.W94746-100000@warez.scriptkiddie.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In article <20010706010251.W94746-100000@warez.scriptkiddie.org>, Lamont Granquist <lamont@scriptkiddie.org> wrote: > > i've got a program where i'm trying to use libpcap in a posix thread and > the thread is failing to get any data back. i've tried writing a sample > program which was non-threaded and then simply linking with -pthread and > linking that way seems to interfere with bpf/libpcap. i'm running on > 4.3-STABLE and tried it on a build which was a few months old, and just > tried again with a cvsup from a few hours ago (Jul 5 2001 22:00:00 or > so). > > is there a known incompatibility between bpf/libpcap and pthreads? anyone > have any notions of what is going wrong here? (is it possible that bpf is > having problems waking up the thread waiting on i/o?) This sounds like a bug I fixed in -current some time ago. I thought I merged the fix into -stable, but maybe not. I'll check later on today. John -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Disappointment is a good sign of basic intelligence." -- Chögyam Trungpa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200107061618.f66GI5L15965>