From ead9b8be325bdadb6b2a4e2a3b22dd34d7df8e4d Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Tue, 18 Feb 2020 08:41:41 -0800 Subject: Renamed Bu::Thread::stop to Bu::Thread::forceStop. This wound up biting me, stop wasn't implemented in one child class and it was force-stopping it. Stop isn't usually implemented like this in threadding classes, and this should be no exception. I'm still exposing the posix threads stop functionality, but it really shouldn't even be used. This may break some things, but if it does, they probably weren't working correctly anyway. Sorry. --- src/stable/thread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/stable/thread.cpp') diff --git a/src/stable/thread.cpp b/src/stable/thread.cpp index 98f08ec..7d362e9 100644 --- a/src/stable/thread.cpp +++ b/src/stable/thread.cpp @@ -51,7 +51,7 @@ bool Bu::Thread::start() return true; } -bool Bu::Thread::stop() +bool Bu::Thread::forceStop() { pthread_cancel( ptHandle ); -- cgit v1.2.3