On Thu, Jun 05, 2003 at 06:58:28AM -0400, Rob Cartier wrote: > I was wondering if it is just that I am using an older version > of redhat (glibc) or is it the way AMD implements threads. > > I notice that while on pentium based linux machines running rh 8.0 and 9.0 > I see only 1 process running for tomcat and mysqld but when > running it on a AMD Athlon rh 7.2 I see 40 threads for tomcat and 10 for > mysqld
On all kernels up to RH9 threads are implemented as separate "lightweight" processes. While this mostly works well enough, it isn't really the way threads are intended to work, there are apparently some "minor" areas in which it doesn't do exactly the right thing. (though for the purposes of a MT program I wrote and maintain at work, it's just fine). Beginning at RH9, they are using the new threading mechanism that properly implements threads as all members of a single process. Therefore, on RH9 MT programs will show in the process table once, and on prior versions there will be one process per thread plus one additional process for a "manager thread". > > Can someone enlighten me. > > Rob Cartier > > > > -- > redhat-list mailing list > unsubscribe mailto:[EMAIL PROTECTED] > https://www.redhat.com/mailman/listinfo/redhat-list -- ------------------------------------------------------------------------------- .---- Fred Smith / ( /__ ,__. __ __ / __ : / / / / /__) / / /__) .+' Home: [EMAIL PROTECTED] / / (__ (___ (__(_ (___ / :__ 781-438-5471 -------------------------------- Jude 1:24,25 --------------------------------- -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list