From 02b7a883e3eb5e17426aed71f63c57425cb7f143 Mon Sep 17 00:00:00 2001 From: Omar Rizwan Date: Sun, 18 Jun 2023 16:28:30 -0400 Subject: Introduce fork-zygote process system. Also refactors/separates ::nodename to be ::thisNode (this computer) and ::thisProcess (this OS process). All tests should pass. Zygote-based processes are much faster to start up since they don't need to recompile C code or reload Folk. They still need to connect to Folk via WebSocket for now, and the automatic management we'd want (bidirectional, based on both match lifetime and process lifetime) isn't working yet. Some of the node vs. process distinction in naming still needs to be cleaned up, too, I think. --- user-programs/haippi7/laser-pi.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'user-programs') diff --git a/user-programs/haippi7/laser-pi.tcl b/user-programs/haippi7/laser-pi.tcl index 601f2809..19b9702a 100644 --- a/user-programs/haippi7/laser-pi.tcl +++ b/user-programs/haippi7/laser-pi.tcl @@ -97,7 +97,7 @@ namespace eval Camera { } $WIDTH $HEIGHT [thread::id]]] puts "Camera thread id: $cameraThread" - Assert when $::nodename has step count /c/ { + Assert when $::thisProcess has step count /c/ { foreach stmt $Camera::statements { Say {*}$stmt } -- cgit v1.2.3