RE: [boost] Re: Re:(For me a) showstopper [was: boost threadstaticlibrary]

-----Original Message----- From: Stefan Slapeta [mailto:stefan@slapeta.com] Sent: Wednesday, February 18, 2004 2:07 PM To: 'Boost mailing list' Subject: RE: [boost] Re: Re:(For me a) showstopper [was: boost threadstaticlibrary]
I would be interested to learn how you achived this without modifying boost.
In a MSVC++ 7.1 environment, we simply created a static library project and copied the Boost Thread cpp files into it. My only caveat would be that this was done with version 1.29.0 -- I don't know if there have been any subsequent changes that would cause complications in such an approach.

On Wed, 18 Feb 2004 15:33:25 -0800 Randy Bowen <rbowen@Stamps.com> wrote:
-----Original Message----- From: Stefan Slapeta [mailto:stefan@slapeta.com] Sent: Wednesday, February 18, 2004 2:07 PM To: 'Boost mailing list' Subject: RE: [boost] Re: Re:(For me a) showstopper [was: boost threadstaticlibrary]
I would be interested to learn how you achived this without modifying boost.
In a MSVC++ 7.1 environment, we simply created a static library project and copied the Boost Thread cpp files into it. My only caveat would be that this was done with version 1.29.0 -- I don't know if there have been any subsequent changes that would cause complications in such an approach.
I suspect this would not work with the current release, or you accepted, that this project consists also of a DLL. Altough one with a custom name of course. I repeat, that I have also looked into this issue, and came up with a solution that creates a "DLL on the fly". I already sent some sketchy code to Michael Glassford for discussion, and I am also planning to submit an addition to boost thread for discussion to the list. (But first I have to learn bjam a little better before ;-) This DLL is essential for detection of ending threads. You cannot do this with a static lib! (This has been already extensively discussed.) The necessity of the DLL arose together with the thread local storage stuff. Roland
participants (2)
-
Randy Bowen
-
Roland