SFML community forums

General => Feature requests => Topic started by: 1aam2am1 on June 15, 2015, 05:33:36 pm

Title: A close() function in sf::Thread
Post by: 1aam2am1 on June 15, 2015, 05:33:36 pm
I would like to call the closing event for my thread. Not force close, without releasing resources.
Title: Re: A close() function in sf::Thread
Post by: eXpl0it3r on June 15, 2015, 05:57:16 pm
Then use wait() instead. ;)
Title: Re: A close() function in sf::Thread
Post by: Jesper Juhl on June 15, 2015, 06:04:22 pm
And, if you can, use std::thread rather than sf::Thread :)