diff options
author | Sebastien Marie <semarie@users.noreply.github.com> | 2020-09-10 12:19:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-10 12:19:18 +0200 |
commit | 3fb1f45301880a3aa901b752af1ecc912efe5915 (patch) | |
tree | 58545af949274d8d7560337755760b3eb5019a1b /src/threading/thread.h | |
parent | 0683bea283d456253de343f37720789382ece6b2 (diff) | |
download | minetest-3fb1f45301880a3aa901b752af1ecc912efe5915.tar.gz minetest-3fb1f45301880a3aa901b752af1ecc912efe5915.tar.bz2 minetest-3fb1f45301880a3aa901b752af1ecc912efe5915.zip |
Remove Thread::kill() and related unittest (#10317)
Closes: #6065
Diffstat (limited to 'src/threading/thread.h')
-rw-r--r-- | src/threading/thread.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/threading/thread.h b/src/threading/thread.h index 3946335f5..45fb171da 100644 --- a/src/threading/thread.h +++ b/src/threading/thread.h @@ -75,14 +75,6 @@ public: bool stop(); /* - * Immediately terminates the thread. - * This should be used with extreme caution, as the thread will not have - * any opportunity to release resources it may be holding (such as memory - * or locks). - */ - bool kill(); - - /* * Waits for thread to finish. * Note: This does not stop a thread, you have to do this on your own. * Returns false immediately if the thread is not started or has been waited |