Fixes parallel issues from recent C99 changes (#809)

* Fixes parallel issues from recent C99 changes

* Adds MPE FUNC --> __func__ changes missed in earlier PRs

* Even more missed FUNC --> __func__ macros
This commit is contained in:
Dana Robinson
2021-06-30 08:17:35 -07:00
committed by GitHub
parent 858a2b2866
commit f0e0c7ed2a
29 changed files with 486 additions and 474 deletions

View File

@@ -709,7 +709,7 @@ created) or if the wrong values were read back.
<blockquote>
<pre>
#define H5_API_UNSET_CANCEL \
if (H5_IS_API(FUNC)) { \
if (H5_IS_API(__func__)) { \
H5_cancel_count_inc(); \
}
</pre>
@@ -721,7 +721,7 @@ created) or if the wrong values were read back.
<blockquote>
<pre>
#define H5_API_LOCK_BEGIN \
if (H5_IS_API(FUNC)) { \
if (H5_IS_API(__func__)) { \
H5_mutex_lock(&amp;H5_g.init_lock);
</pre>
</blockquote>
@@ -755,7 +755,7 @@ created) or if the wrong values were read back.
<blockquote>
<pre>
#define H5_API_UNLOCK_BEGIN \
if (H5_IS_API(FUNC)) { \
if (H5_IS_API(__func__)) { \
H5_mutex_unlock(&amp;H5_g.init_lock);
</pre>
</blockquote>
@@ -774,7 +774,7 @@ created) or if the wrong values were read back.
<blockquote>
<pre>
#define H5_API_SET_CANCEL \
if (H5_IS_API(FUNC)) { \
if (H5_IS_API(__func__)) { \
H5_cancel_count_dec(); \
}
</pre>