[boost] Re: Threads Lib and DLL Issues

2003-04-01 Thread David Brownell
While this will work (although it is discouraged in the documentation of redist.txt), my preference is to ship only one DLL (the thread dll) and my exe. Anyone know how to tweak bjam to do this? Thanks! Moore, Dave [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] MSCV70P.DLL is a

[boost] Threads Lib and DLL Issues

2003-03-31 Thread David Brownell
. Any ideas on how I can do that through the jamfiles? In killing two birds with one stone, I would also like to know how to change the name of the threads DLL. I tried to modify line 48 in thread's jamfile, but that didn't seem to work. TIA, David Brownell

[boost] Re: Re: Re: Re: Re: Thread Lib and DLL

2003-03-27 Thread David Brownell
William E. Kempf [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] David Brownell said: // In library Foo void some_library_foo() { boost::thread_specific_ptrFoo p; // other stuff } // In Application Bar which uses library Foo with out any knowledge // that Foo

[boost] Re: Re: Re: Thread Lib and DLL

2003-03-26 Thread David Brownell
); //And within the thread code void InternalThreadProc(const boost::functionvoid func) { func(); //TLS cleanup } thread(const boost::functionvoid userFunc) { ... InternalThreadProc(userFunc); } Again, the code is rough, but I hope I am communicating clearly. Thanks again, David Brownell

[boost] Re: Re: Re: Re: Thread Lib and DLL

2003-03-26 Thread David Brownell
// In library Foo void some_library_foo() { boost::thread_specific_ptrFoo p; // other stuff } // In Application Bar which uses library Foo with out any knowledge // that Foo used Boost.Threads void bar() { some_library_foo(); } int main() { __beginthread(bar, );

[boost] Thread Lib and DLL

2003-03-25 Thread David Brownell
thing considered, I find a static library is much more desirable than a dll. Thanks! David Brownell ___ Unsubscribe other changes: http://lists.boost.org/mailman/listinfo.cgi/boost