Boost logo

Boost Users :

From: Alexander Nasonov (alnsn_at_[hidden])
Date: 2005-01-11 12:58:36


Amerio wrote:
> Hello,
> After compiling libboost_thread-gcc-mt.so on debian/gcc-2.95.4, this so
> weights 195kB, while libpthread weights only 100kB.
> Why such a huge difference ? Isn't boost::thread meant to be as lightweight
> as possible ?

Try building it with Boost.Build v2 (bjam --v2 gcc release). It's only
64K because read_write_mutex.o (223K in release) is excluded from link.
I don't know whether it's intentional or an oversight.

-- 
Alexander Nasonov

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net