Added threaded getchar() backend to the nonblocking getter function