Merge branch 'master' into zig-0.14

This commit is contained in:
CJ van den Berg 2025-03-04 21:15:14 +01:00
commit a959563bc7
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
11 changed files with 253 additions and 75 deletions

View file

@ -45,6 +45,10 @@ fn create() SpawnError!Self {
return .{ .pid = tp.env.get().proc(module_name) };
}
pub fn start() SpawnError!void {
_ = try get();
}
pub fn shutdown() void {
const pid = tp.env.get().proc(module_name);
if (pid.expired()) {