[libj6] Add thread wrapper class

This new class makes it easier for user programs to spawn threads. This
change also includes support for .hh files in modules, to differentiate
headers that are C++-only in system libraries.
This commit is contained in:
Justin C. Miller
2022-10-20 22:12:02 -07:00
parent 2703080df2
commit 6583744532
5 changed files with 103 additions and 13 deletions

View File

@@ -8,6 +8,7 @@ j6 = module("j6",
"protocol_ids.cpp",
"syscalls.s.cog",
"sysconf.cpp.cog",
"thread.cpp",
],
public_headers = [
"j6/cap_flags.h.cog",
@@ -18,6 +19,7 @@ j6 = module("j6",
"j6/protocols/service_locator.h",
"j6/syscalls.h.cog",
"j6/sysconf.h.cog",
"j6/thread.hh",
"j6/types.h",
"j6/tables/log_areas.inc",