Import LinuxCNC source tree

This commit is contained in:
Wang Dequan
2026-08-20 06:17:39 +08:00
commit 2c814634c3
9429 changed files with 10556013 additions and 0 deletions

4
tests/threads.1/checkresult Executable file
View File

@@ -0,0 +1,4 @@
#!/bin/sh -e
# Check that the tmax for a hal function is nonzero
CYCLES=$(cat "$1")
test ! -z "$CYCLES" -a "$CYCLES" -gt 0

6
tests/threads.1/test.hal Normal file
View File

@@ -0,0 +1,6 @@
loadrt threads
loadrt and2 count=1
addf and2.0 thread1
start
loadusr -w sleep 1
getp and2.0.tmax