I have a thread which will be created x amount of times depending on what the user inputs via standard in. They are all going to read from a file, what's the best way to signal them all to shutdown? I tried using a boolean value within the while( 1 ) loop, with no luck. Thanks!