;;;; A program that has not been told about the agent and is still running. ;;;; ;;;; dev-noagent.flan is the other half of this pair and stops short of it: its ;;;; main returns, so a moment later it is parked, and a redefinition sent to a ;;;; parked program is answered by the parking path. This one keeps running, ;;;; which is the state nothing had pinned: there is no agent in the process to ;;;; hand a module to and no socket to fall back on, so the daemon refuses the ;;;; delivery and says which socket it could not reach. ;;;; ;;;; That is the honest answer for it. The sentence [install_note] keeps for a ;;;; running program with no socket — queued, installs at its next ;;;; (agent/poll) — was true of a program that *links* the agent and has not ;;;; reached its (agent/start ...) yet, because there the ring is reachable ;;;; in-process while the socket is not yet bound. The package's constructor ;;;; binds before main now, so that window is gone; see FIX.org. ;;;; ;;;; So: no (import agent ...) anywhere, and a loop that outlasts the test. (defn step [] i64 7) (defn main [] i32 (print (step)) (println "") ;; Long enough that the session ends before the program does; short enough ;; that a daemon killed the hard way leaves nothing running for minutes. (dotimes [i 3000] (sleep-seconds 0.01)) 0)