[libj6] Make j6::thread a template for lambdas

Instead of a C-style function pointer taking `void *userdata`, let
j6::thread take a lambda as its thread procedure.
This commit is contained in:
Justin C. Miller
2023-08-09 21:07:09 -07:00
parent 8b3fa3ed01
commit 3cfd0cf86b
4 changed files with 47 additions and 78 deletions

View File

@@ -15,7 +15,6 @@ j6 = module("j6",
"syscalls.s.cog",
"sysconf.cpp.cog",
"syslog.cpp",
"thread.cpp",
],
public_headers = [
"j6/cap_flags.h.cog",