summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRyo Nakamura <upa@haeena.net>2023-05-07 21:05:05 +0900
committerRyo Nakamura <upa@haeena.net>2023-05-07 21:05:05 +0900
commit24e86f58d87d48864e6ae33f1953124e467753ea (patch)
tree5bd65f8dd40209b6aaa08ca22c5224c059a22495 /include
parent1d3b3a2261153126832bab4276677cab6e262ed2 (diff)
mscp: maintain mscp_thread structs in list
Instead of m->threads array, struct mscp_thread instanes are maintained in m->thread_list. This enables stable counter access via mscp_get_stats().
Diffstat (limited to 'include')
-rw-r--r--include/mscp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mscp.h b/include/mscp.h
index 3e8f80f..965af0b 100644
--- a/include/mscp.h
+++ b/include/mscp.h
@@ -184,7 +184,7 @@ int mscp_scan_join(struct mscp *m);
*
* @param m mscp instance.
*
- * @return 0 on success, < 0 if an error occured.
+ * @return number of threads on success, < 0 if an error occured.
* mscp_get_error() can be used to retrieve error message.
*
* @see mscp_join()