How can I pass a reference to a stack variable to a thread? How can I pass a reference to a stack variable to a thread? multithreading multithreading