37aff7daa7
Thread was not really needed there, while previous ng_tty implementation that used thread pointer had locking issues (using sx while holding mutex).