cleanup, docs

This commit is contained in:
root
2026-06-16 23:02:45 +00:00
parent ea08d5f28b
commit b8b56cf3dd
160 changed files with 1076 additions and 511 deletions
+2 -1
View File
@@ -23,4 +23,5 @@ Task keys may contain ordinary user-facing text. UCE hashes the key before using
`timeout` is enforced in the child process with an alarm. The default is ten minutes. Pass `0` only for tasks that have their own shutdown path.
:example
print("task example\n");
task("doc-demo-task", []() { usleep(100000); });
print(task_pid("doc-demo-task") > 0 ? "background task is running" : "no task", "\n");