Hi all,
I'm currently investigating a FreeBSD-only problem. Basically ntop MT on
FreeBSD uses all the available CPU. I've noticed that if I create ntop
ST and link it with libc_r (the reeentrant version of libc) it does uses
all the available CPU too, but it I use libc then it uses very little
CPU. I have experienced the same behaviour if I use -pthread link flag
instead.
As I'm not a FreeBSD expert, can someone tell me how multithreaded
programs under FreebSD must be built?
Thanks, Luca
--
Luca Deri Finsiel S.p.A.
Via Matteucci 34/B 56124 Pisa, Italy.
Ph. +39/050/968.639 Fax. +39/050/968.626
Email: [EMAIL PROTECTED] WWW: http://www.tlcpi.finsiel.it/~deri/
ICQ: 68183632
Software is about stuff, about getting hands dirty - Jim Coplien