
The problem is about inability of Windows to "merge" static data from different DLLs into one place.
This results in more than one lifetime_priority queue in single application, frex. I'm not sure that shared memory is a right approach. Shared memory is usually used to share the part of memory between several different
On 5/6/05, Pavel Vozenilek <pavel_vozenilek@hotmail.com> wrote: processes, not the same process. Therefor shared memory are something that is OS-wide and using it to share something inside single process is a bit overkill, besides, it can possible to run into several troubles, for example, you have to ensure there is not collisions between different processes and shared memory ids. Personally, I more like the idea of giving the user some way to specify an allocator for Singleton library's managing facilities (lifetime_priority?). Some kind of create_using_std_allocator_ex, but not for single singleton, but for library manager. -- Best regards, Zigmar