[ET Trac] [Einstein Toolkit] #817: add function to flesh to query name of currently executing function
Einstein Toolkit
trac-noreply at einsteintoolkit.org
Mon Apr 23 11:30:02 CDT 2012
#817: add function to flesh to query name of currently executing function
--------------------------+-------------------------------------------------
Reporter: rhaas | Owner:
Type: enhancement | Status: review_ok
Priority: minor | Milestone:
Component: Cactus | Version:
Resolution: | Keywords:
--------------------------+-------------------------------------------------
Changes (by knarf):
* status: review => review_ok
Comment:
Warning with CCTK_WARN_PICKY is probably ok - although calling it
recursively is either ok (and then it shouldn't warn at all) or wrong (and
then is should probably abort the run).
Concerning GH: I think it would be nice to to have to pass GH to every
function where I would like to use this function (on the other hand, using
a global for that wouldn't be a big deal either). I do understand the idea
of storing the information about the currently executed function within GH
though. So, in the end: yes, please commit. However, please use
CCTK_ATTRIBUTE_UNUSED for GH until we do use it.
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/817#comment:8>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
More information about the Trac
mailing list