Boost logo

Boost :

From: David Abrahams (abrahams_at_[hidden])
Date: 2000-12-11 09:09:29


----- Original Message -----
From: "Ullrich Koethe" <koethe_at_[hidden]>

> Suppose I've linked module "depmodule.so" against module
> "sharedmodule.so". Then both modules share the variable "name_holder"
> defined in the unnamed namespace of module_builder.cpp. This variable is
> set when module "shared" is loaded into Python. When I later try to load
> module "dep", "dep" wants to set this variable again, and the assertion
> fires.

But, at least in the release version, when module_builder is destroyed it
resets name_holder so there should be no issue unless both module_builders
exist at the same time.

-Dave


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