From be4f67c834719a8d12f5588d42d64bd39d1cb0c6 Mon Sep 17 00:00:00 2001 From: nodist Date: Fri, 3 Jul 2026 13:27:41 -0400 Subject: add more lifecycle --- docs/application/namespace.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'docs/application/namespace.md') diff --git a/docs/application/namespace.md b/docs/application/namespace.md index 38752ce..c6b8cea 100644 --- a/docs/application/namespace.md +++ b/docs/application/namespace.md @@ -26,7 +26,6 @@ typedef struct _kpl_namespace_module { KPL_SLAB_TREE_HEADER(struct _kpl_namespace_module); kpl_type_ptr ast; kpl_buffer *module_string, *module_name; - kpl_task *_Atomic task; kpl_export *export_tree; kpl_mutex export_mutex; } kpl_namespace_module; @@ -92,5 +91,5 @@ Since the native modules are loaded statically the `native_module_tree` becomes 1. Add find namespace task to the `namespace_module_mutex`, the namespace not existing is an error 2. Add a get export task to the namespaces `export_mutex` -3. The `export_mutex` will not start processing it's queue until the `task` field is `NULL` +3. The `export_mutex` will not start processing it's queue until the namespace notifies that it's and unlocks its `export_mutex` 4. The importer will get a copy of the read only `export_tree` -- cgit v1.2.3