diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-08-26 18:51:10 +0300 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-08-26 18:51:10 +0300 |
| commit | b25156373cd89792b1c457b77699bb7f9beb430d (patch) | |
| tree | 56816903fcedc9fe35786b9baf43499d4ec3d19f /tests/detach/source.mk | |
| parent | 260fc4c790ca25ee1ffab4edd9c6488d3bcb441c (diff) | |
| download | kmi-b25156373cd89792b1c457b77699bb7f9beb430d.tar.gz kmi-b25156373cd89792b1c457b77699bb7f9beb430d.zip | |
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.
Diffstat (limited to 'tests/detach/source.mk')
| -rw-r--r-- | tests/detach/source.mk | 2 |
1 files changed, 2 insertions, 0 deletions
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 |
