mirror of
https://github.com/justinian/jsix.git
synced 2025-12-09 16:04:32 -08:00
[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:
@@ -15,7 +15,6 @@ j6 = module("j6",
|
||||
"syscalls.s.cog",
|
||||
"sysconf.cpp.cog",
|
||||
"syslog.cpp",
|
||||
"thread.cpp",
|
||||
],
|
||||
public_headers = [
|
||||
"j6/cap_flags.h.cog",
|
||||
|
||||
Reference in New Issue
Block a user