POSIX implementation kind of works, no input
Threading may be working, input still busted