File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1041,9 +1041,9 @@ extern "C" {
10411041 * @page howtothreads libyang in Threads
10421042 *
10431043 * libyang can be used in multithreaded applications keeping in mind the following rules:
1044- * - libyang context manipulation (adding new schemas) is not thread safe and it is supposed to be done in a main
1045- * thread before any other work with context, schemas or data instances. Destroying the context is supposed to
1046- * be done when no other thread accesses context, schemas nor data trees,
1044+ * - libyang context manipulation (adding new schemas, removing schemas or even printing schemas) is not thread safe
1045+ * and it is supposed to be done in a main thread before any other work with context, schemas or data instances.
1046+ * Destroying the context is supposed to be done when no other thread accesses context, schemas nor data trees,
10471047 * - data parser (\b lyd_parse*() functions) can be used simultaneously in multiple threads (also the returned
10481048 * #ly_errno is thread safe),
10491049 * - data manipulation (lyd_new(), lyd_insert(), lyd_unlink(), lyd_free() and many other
You can’t perform that action at this time.
0 commit comments