Creates a queue of stdin requests