Testing threads in the lcr function implementation on RedPitaya.