project:ledum:start
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
project:ledum:start [2025/07/03 22:31] – [ISA Description] Description of garbage collector yokotashi | project:ledum:start [2025/07/03 22:42] (current) – [ISA Description] description of process creator yokotashi | ||
---|---|---|---|
Line 134: | Line 134: | ||
* process creator | * process creator | ||
- | Note: | + | Notes: |
- | Any fiber can provide those services to others using it's resources. But the initial providers have all available resources and ability ru run privileged instructions if it's needed for their jobs. | + | # Any fiber can provide those services to others using it's resources. But the initial providers have all available resources and ability ru run privileged instructions if it's needed for their jobs. |
+ | # Process hierarchy, memory quota hierarchy and IO hierarchy are completely independent. | ||
Terminology | Terminology | ||
* thread - X has asked scheduler to create it. X is it's parent and can see it's whole memory. | * thread - X has asked scheduler to create it. X is it's parent and can see it's whole memory. | ||
- | * process - X has asked process creator to create it. Process creator is it' parent and can see it's whole memory. X is it's parent process in process creator' | + | * process - X has asked process creator to create it. Process creator is it' parent and can see it's whole memory. X is it's parent process in process creator' |
* fiber - any thread or process | * fiber - any thread or process | ||
* There may be more process creators. Therefore the same fiber may be viewed as thread (from it's process creator and it's parent threads) and as process (from another process under the same process creator). | * There may be more process creators. Therefore the same fiber may be viewed as thread (from it's process creator and it's parent threads) and as process (from another process under the same process creator). | ||
Line 182: | Line 183: | ||
Weak pointers will be needed probably. | Weak pointers will be needed probably. | ||
+ | |||
+ | == process creator == | ||
+ | * from the scheduler' | ||
+ | * creates and destroys a processes when asked | ||
+ | * creates channels between parent and child process | ||
+ | * stores process hierarchy similarly as scheduler stores fiber hierarchy and memory allocator stores quota hierarchy | ||
+ | |||
+ | There may be more process creators. | ||
+ | The main reason for existence of process creator is possibility to create a child without being able to travel down through it's memory. Process creator will have this ability of course, but it should be small, simple and well audited. | ||
==== Electronic Circuit Design ==== | ==== Electronic Circuit Design ==== | ||
project/ledum/start.txt · Last modified: 2025/07/03 22:42 by yokotashi