RE: [boost] Re: Thread Lib and DLL

2003-03-29 Thread Steven Mauceri
Yes, cleanup could be solved this way (or with other approaches, daemon thread, periodic timers, etc). However, I don't see cleanup as the core issue with making TLS work without a DLL under Win-32. Currently, boost.threads supports (uses/specifies) the POSIX style cleanup model where the cleanup

Re: [boost] Re: Thread Lib and DLL

2003-03-29 Thread David Abrahams
"William E. Kempf" <[EMAIL PROTECTED]> writes: > Russell Hind said: >> I'd been wondering this, and heard about TLS issues. The issues are >> only on Windows it appears. Search for the thread >> >> "Fwd: Thread-Local Storage (TLS) and templates" by Greg Colvin on >> 18/02/2003 >> >> Specifically

[boost] Re: Thread Lib and DLL

2003-03-26 Thread Russell Hind
William E. Kempf wrote: You can do this simply by placing the applications in seperate directories and keeping the proper DLL version alongside the executable. Not necessarily the ideal solution, but it's the easiest way to solve "DLL Hell". The reason I've not done this (and want to go to the 've

Re: [boost] Re: Thread Lib and DLL

2003-03-26 Thread William E. Kempf
Edward Diener said: > William E. Kempf wrote: >> David Brownell said: >>> I am curious as to why the new version of the Thread library does not >>> provide a static library in the 1.30 version of boost. After reading >>> some initial posts, I have seen references to thread local storage, >>> but

[boost] Re: Thread Lib and DLL

2003-03-26 Thread Edward Diener
William E. Kempf wrote: > David Brownell said: >> I am curious as to why the new version of the Thread library does not >> provide a static library in the 1.30 version of boost. After reading >> some initial posts, I have seen references to thread local storage, >> but haven't seen anything that d

Re: [boost] Re: Thread Lib and DLL

2003-03-26 Thread William E. Kempf
Russell Hind said: > William E. Kempf wrote: >> >> Theoretically at least, I don't see why this would cause a problem. >> You intentionally leak, but the leak is benign since it occurs only >> right before the application exits. But most users won't code this >> way, nor do I want to have to deal

[boost] Re: Thread Lib and DLL

2003-03-26 Thread Russell Hind
William E. Kempf wrote: Theoretically at least, I don't see why this would cause a problem. You intentionally leak, but the leak is benign since it occurs only right before the application exits. But most users won't code this way, nor do I want to have to deal with the support requests/questions

Re: [boost] Re: Thread Lib and DLL

2003-03-26 Thread William E. Kempf
Russell Hind said: > I'd been wondering this, and heard about TLS issues. The issues are > only on Windows it appears. Search for the thread > > "Fwd: Thread-Local Storage (TLS) and templates" by Greg Colvin on > 18/02/2003 > > Specifically, the many posts by William Kempf and Edward Diener disc

[boost] Re: Thread Lib and DLL

2003-03-26 Thread Russell Hind
I'd been wondering this, and heard about TLS issues. The issues are only on Windows it appears. Search for the thread "Fwd: Thread-Local Storage (TLS) and templates" by Greg Colvin on 18/02/2003 Specifically, the many posts by William Kempf and Edward Diener discuss the problems on windows wi