Merge branch 'master' into zig-0.14
This commit is contained in:
		
						commit
						a959563bc7
					
				
					 11 changed files with 253 additions and 75 deletions
				
			
		| 
						 | 
				
			
			@ -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()) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue