-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Question] Send
for Texture
#192
Comments
I'm not sure what can be I personally think probably |
Thanks for the answer. Is this something you're looking into or are you looking for others to take this on? Also, I've tried manually making Texture Send and it seemed to move from my loader thread to my main thread just fine. I'm not sure it's safe that way though, I'm not very familiar with these things yet. |
A sensible course of action would be to discuss this with the SFML maintainers. They should know more about the thread safety of various SFML types. If you'd like to, you could have a talk with them about the types you are interested in making |
Not sure about whether this makes any difference, but there's AtomicPtr that can help enforcing atomicity on owned pointer (and they are owned, at least in case of |
I'm running into an issue when loading textures from a thread, that
Texture
isn'tSend
. Is this on purpose or is it possible to make itSend
?The text was updated successfully, but these errors were encountered: