[ET Trac] [Einstein Toolkit] #1821: Carpet may call object methods with this == NULL
Einstein Toolkit
trac-noreply at einsteintoolkit.org
Fri Mar 3 16:01:40 CST 2017
#1821: Carpet may call object methods with this == NULL
-----------------------+----------------------------------------------------
Reporter: rhaas | Owner: eschnett
Type: defect | Status: reopened
Priority: optional | Milestone:
Component: Carpet | Version: development version
Resolution: | Keywords:
-----------------------+----------------------------------------------------
Comment (by eschnett):
(1) I don't think that CarpetLib itself calls this method, so the changes
to {{{ggf.cc}}} should not be necessary.
(2) In {{{PeriodicCarpet}}}, you could use {{{src}}} instead of
{{{fake_data_pointer()}}}.
(3) The initialization of the static variable in {{{fake_data_pointer}}}
is not thread-safe. This has actually become an issue when using Qthreads
for parallelization.
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1821#comment:6>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
More information about the Trac
mailing list