summaryrefslogtreecommitdiff
path: root/src/hal/components/threadtest.comp
blob: db4d6544e81a7cb0b21b503ac28a4575882759d6 (plain)
1
2
3
4
5
6
7
8
9
10
component threadtest "LinuxCNC HAL component for testing thread behavior";
pin out unsigned count;
function increment nofp;
function reset nofp;
license "GPL";

;;

FUNCTION(increment) { count++; }
FUNCTION(reset) { count=0; }