diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2023-04-30 17:24:30 +0300 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2023-04-30 17:24:30 +0300 |
| commit | 27fe6041eb2bf679b3f793f5e75c709c58074ed2 (patch) | |
| tree | c579ec2149228fe79b7f33db3ae13d7c3fce6034 | |
| parent | ea5ebe0809fb31b9f125ac0689f706cc5f3f078f (diff) | |
| download | kmi-27fe6041eb2bf679b3f793f5e75c709c58074ed2.tar.gz kmi-27fe6041eb2bf679b3f793f5e75c709c58074ed2.zip | |
conform closer to other project structures
| -rw-r--r-- | TCB.txt | 20 | ||||
| -rw-r--r-- | TODO (renamed from TODO.txt) | 0 | ||||
| -rw-r--r-- | docs/doxygen-kmi.css (renamed from docs/doxygen-apos.css) | 0 |
3 files changed, 0 insertions, 20 deletions
diff --git a/TCB.txt b/TCB.txt deleted file mode 100644 index 4b7bf37..0000000 --- a/TCB.txt +++ /dev/null @@ -1,20 +0,0 @@ -Alright, so my general idea of creating/killing threads is as follows: - -When a new thread is spawned, it happens through fork, so the new thread gets a -new thread ID but keeps the process ID of the parent process. The new thread is -added to a doubly linked list of thread IDs with the same common process ID. -When a thread is promoted to a process, the process ID becomes that thread ID -(helps with finding threads and corresponding process IDs). Should check that no -other process is using that ID, but it should be exeedingly rare if not -impossible. (can't think of how you would launch 4B threads on one machine but I -guess that's not impossible?) - -All threads share a common (struct vm_branch), and only when a thread is -elevated to a process is a new one allocated. Only when the last thread in a -process is released is the memory released. Will still need to figure out -exactly how device memory should be freed, since it's handled globally instead -of per thread atm. - -Also, I suspect I may have made my life a bit too difficult with different sized -pages, as I'm having a hell of a time figuring out how `fork` should be -implemented :D diff --git a/docs/doxygen-apos.css b/docs/doxygen-kmi.css index 39d144e..39d144e 100644 --- a/docs/doxygen-apos.css +++ b/docs/doxygen-kmi.css |
