amaneureka/AtomOS

[Kernel_H] Return from thread

Closed this issue · 0 comments

Return from thread should signal the parent process. Right now it throws a page fault because of invalid memory access execution.

basic code:

    new Thread(Parent, foo, Heap.kmalloc(0x1000) + 0x1000, 0x1000).Start();
    private static void foo()
    {
        return;
    }