Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
General
»
Feature requests
»
A close() function in sf::Thread
Print
Pages: [
1
]
Author
Topic: A close() function in sf::Thread (Read 4486 times)
0 Members and 2 Guests are viewing this topic.
1aam2am1
Newbie
Posts: 13
A close() function in sf::Thread
«
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.
Logged
eXpl0it3r
SFML Team
Hero Member
Posts: 11030
Re: A close() function in sf::Thread
«
Reply #1 on:
June 15, 2015, 05:57:16 pm »
Then use wait() instead.
Logged
Official FAQ:
https://www.sfml-dev.org/faq.php
Official Discord Server:
https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog:
https://duerrenberger.dev/blog/
Jesper Juhl
Hero Member
Posts: 1405
Re: A close() function in sf::Thread
«
Reply #2 on:
June 15, 2015, 06:04:22 pm »
And, if you can, use std::thread rather than sf::Thread
Logged
Print
Pages: [
1
]
SFML community forums
»
General
»
Feature requests
»
A close() function in sf::Thread
anything