RegisterAllCalled visibility
12 Dec
2014
12 Dec
'14
12:43 p.m.
Hi all, I'm trying to learn about PETSc's dynamic library framework. I've noticed that XXXInitializePackage() routines are idempotent, but XXXRegisterAll() routines are not, and usually have a visible XXXRegisterAllCalled boolean to guard against multiple calls (but not always). Then there are comments that say "In general, if there is more than one DLL then XXXRegisterAll() may be called several times." I don't understand the different handling between initialization and registration, especially because the initialization routines generally call the registration routines. Any help? Thanks, Toby
4259
Age (days ago)
4259
Last active (days ago)
0 comments
1 participants
participants (1)
-
Tobin Isaac