summaryrefslogtreecommitdiff
path: root/plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugin.h')
-rw-r--r--plugin.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugin.h b/plugin.h
index d3e8b36..756c45a 100644
--- a/plugin.h
+++ b/plugin.h
@@ -15,4 +15,5 @@ typedef void (*register_callback_t)(const char *name,Handler handler);
// Override this in the plugin; it will be called from the main application.
// It should call the callback with the plugin's handler.
+// Note that the plugin's handler will be called from multiple threads, so ensure that it is thread-safe.
void plugin_register_yourself(register_callback_t callback);