Boost logo

Boost :

From: Robert Ramey (ramey_at_[hidden])
Date: 2008-03-29 23:59:26


Felipe Magno de Almeida wrote:
> On Sat, Mar 29, 2008 at 11:36 PM, Robert Ramey <ramey_at_[hidden]> wrote:
>>>> None are one of my types, there are shared_ptr_1_32 with m_key ==
>>>> 0
>> >> and others.
>>
>> The system for type registration has been improved to make the
>> library truely thread-safe and DLL compatible. Sounds like there
>> is an oversight that needs to be fixed. If you can make a small
>> example and indicate which compiler you're using I would like to
>> see it.
>
> Hi Robert, I didn't make an example yet. I'm using msvc-7.1 SP1.
> I was able to narrow down the issue for when multiple registrations
> are done for the same type.
> Is it supported? The multiple registration comes from the same DLL.

Hmmm - I don't this should ever occur. That is I would expect one
module to invoke no more than one "registration" record as its a
singleton. Multiple registration records could occur from having
code for the same type in multiple DLLS or in a DLL along
with the main module. As each module is unloaded, registrations
added the module should be deleted. Perhaps there is something
out of whack here

Robert Ramey

So I would
>
>> Robert Ramey
>
> Thanks,


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk