THREADTEST(9)

πŸ“¦
version 2.9.4 Β· 4 versions
, in ubuntu resolute, ubuntu stonking

✨ THREADTEST ✨ (section 9 of the manuals, HAL Component edition πŸ’…)

okay bestie, welcome to threadtest β€” it's the LinuxCNC HAL component whose whole entire job is testing thread behavior. that's it. that's the gig. it's giving "lab rat but make it iconic" πŸ§ͺπŸ¦‹


🌸 NAME 🌸

threadtest β€” a LinuxCNC HAL component for testing thread behavior ✨ (yes literally, that's what it does, no plot twist)


πŸŽ€ SYNOPSIS πŸŽ€

loadrt threadtest [count=N|names=name1[,name2...]]

so you load it with loadrt, and you can either say count=N or hand it a list like names=name1[,name2...] β€” pick your fighter, not both at once 😌


πŸ”₯ FUNCTIONS πŸ”₯

these are the functions it brings to the party:

  • threadtest.N.increment β€” the increment function, one per instance N 🫢
  • threadtest.N.reset β€” the reset function, also one per instance N πŸ’…

πŸ’– PINS πŸ’–

  • threadtest.N.count β€” u32 type, and it's an out pin, so it's the component telling you the number, not the other way around. main character energy fr fr πŸ‘‘
the N in all of these is just the instance number, bestie β€” load more than one and they each get their own little numbered set of everything πŸ“

πŸ‘‘ AUTHOR πŸ‘‘

Jeff Epler β€” the actual legend who wrote this 🌈⭐


🌸 LICENSE 🌸

GPL β€” GNU General Public License, periodt πŸ’œ


and that's the whole page, no cap πŸŽ€ this lil doc came out of the LinuxCNC Documentation and it's dated 2026-03-17. go forth and test those threads, bestie, i'm obsessed πŸ¦‹πŸ’–

πŸ“¦ where this page comes from