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
. 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
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
);
//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
// 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, );
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