• R/O
  • SSH

posixpp: Commit

The main posixpp library and associated tests.


Commit MetaInfo

Revision8e9f35b58b204415cde7355c2b29f801f1ae7f6d (tree)
Time2021-05-02 23:48:07
AuthorEric Hopper <hopper@omni...>
CommiterEric Hopper

Log Message

Fix exit.

Change Summary

Incremental Difference

diff -r 1f9d5bc4023b -r 8e9f35b58b20 pubincludes/posixpp/basic.h
--- a/pubincludes/posixpp/basic.h Fri Apr 30 09:32:37 2021 -0700
+++ b/pubincludes/posixpp/basic.h Sun May 02 07:48:07 2021 -0700
@@ -9,6 +9,11 @@
99
1010 inline void exit [[noreturn]] (int status)
1111 {
12+ ::syscalls::linux::exit_group(status);
13+}
14+
15+inline void exit_thread [[noreturn]] (int status)
16+{
1217 ::syscalls::linux::exit(status);
1318 }
1419
Show on old repository browser