Skip to Content.
Sympa Menu

mathemagix-devel - static variables

Subject: Mathemagix

List archive

static variables


Chronological Thread 
  • From: Grégoire Lecerf <address@concealed>
  • To: address@concealed
  • Subject: static variables
  • Date: Fri, 26 Oct 2007 15:48:38 +0200

Hello,
I've made a couple of changes in "basix" in order to handle
static variables in a robust way. There remain only two files that might still cause
a crash within the exit() function: atomic_format and memoize -- both involve templated static variables.
They could create dependencies if they were specialized with some "generic", thus yielding a casual segfault at exit()
according to the order of the clean up functions. For atomic_format this should not be a constraint. But
for the memoizer the problem is more tiedous and occurs in generic.cpp. However if all the static tables are correctly emptied onced used, then their
destruction behaves well. Hopefully this happens in generic.cpp :-)
Julien please update and check if everything goes fine on your Mac.
Grégoire.



Archive powered by MHonArc 2.6.18.

Top of Page