1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-01 17:38:41 +00:00

Remove Thread::kill() and related unittest (#10317)

Closes: #6065
This commit is contained in:
Sebastien Marie 2020-09-10 12:19:18 +02:00 committed by GitHub
parent 0683bea283
commit 3fb1f45301
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 22 additions and 65 deletions

View file

@ -74,14 +74,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.