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

1
tests/halrun-lock/README Normal file
View File

@@ -0,0 +1 @@
Tests that the various lock commands result in the expected locking status.

View File

@@ -0,0 +1,28 @@
HAL locking status:
current lock value 0 (00)
HAL_LOCK_NONE - nothing is locked
HAL locking status:
current lock value 255 (ff)
HAL_LOCK_LOAD - loading of new components is locked
HAL_LOCK_CONFIG - link and addf is locked
HAL_LOCK_PARAMS - setting params is locked
HAL_LOCK_RUN - running/stopping HAL is locked
HAL locking status:
current lock value 0 (00)
HAL_LOCK_NONE - nothing is locked
HAL locking status:
current lock value 3 (03)
HAL_LOCK_LOAD - loading of new components is locked
HAL_LOCK_CONFIG - link and addf is locked
HAL locking status:
current lock value 0 (00)
HAL_LOCK_NONE - nothing is locked
HAL locking status:
current lock value 255 (ff)
HAL_LOCK_LOAD - loading of new components is locked
HAL_LOCK_CONFIG - link and addf is locked
HAL_LOCK_PARAMS - setting params is locked
HAL_LOCK_RUN - running/stopping HAL is locked
HAL locking status:
current lock value 0 (00)
HAL_LOCK_NONE - nothing is locked

View File

@@ -0,0 +1,14 @@
status
lock
status
unlock
status
lock tune
status
unlock tune
status
lock all
status
unlock all
status

View File

@@ -0,0 +1,4 @@
#!/bin/sh
halrun -f halrun.hal | grep -i lock