Encoder threading.