/ThreadStop

two ways to describe how to stop thread ,one is a flag to help count ,the other is interrupt() function then catch an exception

Primary LanguageJava

ThreadStop

two ways to describe how to stop thread ,one is a flag to help count ,the other is interrupt() function then catch an exception