when to use libboost_xxx-mt ?
Hello, afaik '-mt' stands for multithreading. Do I've to link against the '-mt' version of a boost library if my application is single threaded but uses external libs which internally span threads? Could you be so kind to give me a generall guideline? thx Oliver -- SMS bei wichtigen e-mails und Ihre Gedanken sind frei ... Alle Infos zur SMS-Benachrichtigung: http://www.gmx.net/de/go/sms
If you are sure the boost code will only be accessed with one thread,
it shouldn't matter.
Mixing runtimes can cause heap problems in some cases, so you'll have
to watch out for that. AFAIK, the only portion of Boost effected by
this is boost.thread's thread specific pointer.
On Thu, 10 Mar 2005 13:06:09 +0100 (MET), Oliver Kowalke
Hello, afaik '-mt' stands for multithreading. Do I've to link against the '-mt' version of a boost library if my application is single threaded but uses external libs which internally span threads? Could you be so kind to give me a generall guideline? thx Oliver
-- SMS bei wichtigen e-mails und Ihre Gedanken sind frei ... Alle Infos zur SMS-Benachrichtigung: http://www.gmx.net/de/go/sms _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- Cory Nelson http://www.int64.org
afaik '-mt' stands for multithreading. Do I've to link against the '-mt' version of a boost library if my application is single threaded but uses external libs which internally span threads? Could you be so kind to give me a generall guideline? thx
You should always use the library that is built in the same way that your
application is built (in other words they have to be binary compatible), a
quick check would be:
#include
participants (3)
-
Cory Nelson
-
John Maddock
-
Oliver Kowalke