From b25156373cd89792b1c457b77699bb7f9beb430d Mon Sep 17 00:00:00 2001 From: Kimplul Date: Mon, 26 Aug 2024 18:51:10 +0300 Subject: improve killing processes/threads, test + Remove sys_kill() as we should be using a two-stage process where a thread is first orphaned by sys_detach(), and then the thread itself calls sys_exit() after it has done all necessary cleanup in init. --- tests/detach/source.mk | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 tests/detach/source.mk (limited to 'tests/detach/source.mk') diff --git a/tests/detach/source.mk b/tests/detach/source.mk new file mode 100644 index 0000000..843562f --- /dev/null +++ b/tests/detach/source.mk @@ -0,0 +1,2 @@ +DO != ./scripts/gen-prog -n detach -p init init.c +DO != ./scripts/gen-simple -n detach -p init -- cgit v1.3