On Fri, Jan 30, 2004 at 08:39:06AM -0600, Burton M. Strauss III wrote: > Curiouser and curiouser said alice... >
.. snip (helpful illustratios of gdb at a threaded application) > > If you google for "freebsd posix threads c" in the groups discussion there's > a huge and interesting thread about a change in FreeBSD 4.9 > regarding -pthreads linkage. > I couldn't find the discussion although threads on FreeBSD do seem to be disappointing (IIRC there have been MySQL problems because of this; 5.x has a completely different thread model than 4.x; DragonFly BSD probably has another approach; Perl >5.6 is never built threaded on FreeBSD [Perl has a thread API, so when Excel can't quite cut it, look for the puff of blue smoke from the tubocharged Swiss army chainxxx pocket knife] presumably because the thread API is incomplete or faulty) The FreeBSD 4.9 release notes make no mention of thread changes (and in my experience, FreeBSD is very conservative [slow] about changes. You get stability rather than anything else.) nor any libpcap changes. > More stuff... > > http://www.tcpdump.org/lists/workers/2001/10/msg00073.html old, but > seemingly on point - we use select() and bpf. But that never got another > response. > Nothing found that seems relevant to 'select' or 'bpf' in the FreeBSD PRs for 4.x (any severity). That said, search for bpf returns nonsense like Compaq Proliant won't boot. (Guy Harris, the author of the reply about select() on bpf fds is one of the Ethereal principals.) >From the 4.9-RELEASE-p1 /usr/src/contrib/libpcap dir tsitc> more README @(#) $Header: /tcpdump/master/libpcap/README,v 1.24 2001/06/05 03:45:55 guy Exp $ (LBL) LIBPCAP 0.6.2 Now maintained by "The Tcpdump Group" See www.tcpdump.org There seems to be a thread about 'bpf now? selectable' eg http://lists.freebsd.org/pipermail/freebsd-hackers/2003-September/003022.html which suggests the kqueue interface instead of select ... Here is Dmitry's reply ' Thanks Peter, I'm aware of these recent changes; however, I plan to support at least one or two previous security branches, so kqueue ()is not the first option for me. Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] ' Mr Morozovsky is a helpful and knowledgable man. I will write him or perhaps you might be better off since I don't know the code or the issues. > More later... > > -----Burton > Thank you for your help and encouragement. Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. _______________________________________________ Ntop-dev mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop-dev
