/ src / hal / components / threadtest.comp
threadtest.comp
 1  component threadtest "LinuxCNC HAL component for testing thread behavior";
 2  pin out unsigned count;
 3  function increment nofp;
 4  function reset nofp;
 5  license "GPL";
 6  
 7  ;;
 8  
 9  FUNCTION(increment) { count++; }
10  FUNCTION(reset) { count=0; }