summaryrefslogtreecommitdiff
path: root/docs/lifecycle/register.md
blob: bffb3a8f7d7712f35518db0848100af5c2d349db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Register

---

## Module

1. Add findsert task to `namespace_module_mutex`
    * If found, stop
2. Create the namespace, lock its `export_mutex` and add to namespace tree
3. Create task on the new namespaces to read the file into a string
4. On completion of the read task start a parse task

## String

1. Add task to set new `kpl_buffer` to `namespace_string` `module_string`
2. The set task will start a parse task