The main posixpp library and associated tests.
Revision | 8e9f35b58b204415cde7355c2b29f801f1ae7f6d (tree) |
---|---|
Time | 2021-05-02 23:48:07 |
Author | Eric Hopper <hopper@omni...> |
Commiter | Eric Hopper |
Fix exit.
@@ -9,6 +9,11 @@ | ||
9 | 9 | |
10 | 10 | inline void exit [[noreturn]] (int status) |
11 | 11 | { |
12 | + ::syscalls::linux::exit_group(status); | |
13 | +} | |
14 | + | |
15 | +inline void exit_thread [[noreturn]] (int status) | |
16 | +{ | |
12 | 17 | ::syscalls::linux::exit(status); |
13 | 18 | } |
14 | 19 |