File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,10 @@ namespace sog {
24
24
* use of sog sources are never destructed but there is an API provided
25
25
* for "dynamic" logging in which the destruction of sources is common.
26
26
*
27
+ * @warning This function must be reentrant. It will only be called once
28
+ * for any given source but it may be called for multiple sources
29
+ * concurrently.
30
+ *
27
31
* @param source The source to prepare for.
28
32
* @return Arbitrary data.
29
33
*/
@@ -36,6 +40,9 @@ namespace sog {
36
40
* (both in location and content) as the source passed to the prepare()
37
41
* call that produced sink_data.
38
42
*
43
+ * @warning This function must be reentrant. It will be called
44
+ * concurrently for the same and different sinks.
45
+ *
39
46
* @param sink_data Data from a previous call to prepare()
40
47
* @param msg The message to log.
41
48
*/
You can’t perform that action at this time.
0 commit comments