[kernel] Create process kernel object

Re-implent the concept of processes as separate from threads, and as a
kobject API object. Also improve scheduler::prune which was doing some
unnecessary iterations.
This commit is contained in:
2020-07-19 16:47:18 -07:00
parent f4cbb9498f
commit ef5c333030
8 changed files with 207 additions and 80 deletions

View File

@@ -6,6 +6,7 @@
#define j6_signal_no_handles (1ull << 0)
// Signals 16-47 are defined per-object-type
#define j6_signal_process_exit (1ull << 16)
// Signals 48-63 are user-defined signals
#define j6_signal_user0 (1ull << 48)