Hello, friends! Maby anybody help me...
In definition of class Poco::Thread, I can not find terminate method, why??
Or there is other way to terminate thread?
one method - sleep to suspend thread is not right implementation!
cast wrote:In definition of class Poco::Thread, I can not find terminate method, why??
Herb Sutter wrote:A time honored way to randomly corrupt your state and achieve undefined behavior.
cast wrote:Or there is other way to terminate thread?
Herb Sutter wrote:Set flag politely, let it poll if it wants.
cast wrote:one method - sleep to suspend thread is not right implementation!
Users browsing this forum: No registered users and 1 guest