(rontolisp) docs
← rontolisp Package Functions

rontolisp:thread-alive-p

(rontolisp:thread-alive-p thread)

Returns t while the thread behind the handle is still running, nil once it has died. After a rontolisp:join-thread the answer is reliably nil (the join waits for the thread's teardown, not just its value).

Limitations

  • A value that is not a thread handle signals a type-error expecting (SATISFIES RONTOLISP:THREADP) (use rontolisp:threadp first when unsure).
  • Interpreter and JVM backend only, like rontolisp:make-thread itself.