aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2023-07-02 00:17:02 +0200
committerSven Gothel <[email protected]>2023-07-02 00:17:02 +0200
commitbe2d31199f95ddbfa02530a021c8ab9611018f27 (patch)
tree9f907a31d9fc2e646d733341a225aa2127d6845e
parent679ce37046c3c68b97e56fb70ea7b316e9dba3ad (diff)
GlueGen JavaCallback: Emphasize all methods are thread-safe
-rw-r--r--doc/GlueGen_Mapping.html3
-rw-r--r--doc/GlueGen_Mapping.md2
2 files changed, 3 insertions, 2 deletions
diff --git a/doc/GlueGen_Mapping.html b/doc/GlueGen_Mapping.html
index aaa305b..bfe9ae8 100644
--- a/doc/GlueGen_Mapping.html
+++ b/doc/GlueGen_Mapping.html
@@ -2113,7 +2113,8 @@ href="#javacallback-key-definition"><em>key arguments</em> (see
callback.</li>
<li>Exactly one native code-unit for the library must specify <a
href="#libraryonload-librarybasename-for-jni_onload-"><code>LibraryOnLoad libraryBasename</code></a></li>
-<li><code>SetCallbackFunction</code> is thread safe</li>
+<li><code>SetCallbackFunction</code>, all <em>maintenance</em> methods
+and the native callback dispatcher <strong>is thread safe</strong></li>
<li>...</li>
</ul>
<h3 id="javacallback-example-1">JavaCallback Example 1</h3>
diff --git a/doc/GlueGen_Mapping.md b/doc/GlueGen_Mapping.md
index b1cbee5..490883d 100644
--- a/doc/GlueGen_Mapping.md
+++ b/doc/GlueGen_Mapping.md
@@ -862,7 +862,7 @@ Please consider the following *currently enabled* constraints using JavaCallback
- To remove a JavaCallback the `SetCallbackFunction` must be called with `null` for the `CallbackFunction` argument
but with the same [*key arguments* (see `JavaCallbackKey`)](#javacallback-key-definition) as previously called to set the callback.
- Exactly one native code-unit for the library must specify [`LibraryOnLoad libraryBasename`](#libraryonload-librarybasename-for-jni_onload-)
-- `SetCallbackFunction` is thread safe
+- `SetCallbackFunction`, all *maintenance* methods and the native callback dispatcher **is thread safe**
- ...
### JavaCallback Example 1