You don't, really. You can start a thread and then join it, meaning wait for it to stop. I guess it depends on what you mean by "access". Can you give an example? Have you read the threads toturial from the join link?
All things are lawful, but not all things are profitable.