Skip to content
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

Library: Add Send/Sync #281

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

amshafer
Copy link

According to the FAQ [1] the freetype library is thread-safe. This change adds the Send and Sync traits to ft::Library to reflect this and remove the unnecessary restriction. The most important of these being Sync, right now you cannot move any object holding the freetype Library struct into a different thread.

[1] https://freetype.org/freetype2/docs/ft2faq.html

According to the FAQ [1] the freetype library is thread-safe.  This
change adds the Send and Sync traits to ft::Library to reflect this and
remove the unnecessary restriction. The most important of these being
Sync, right now you cannot move any object holding the freetype Library
struct into a different thread.

[1] https://freetype.org/freetype2/docs/ft2faq.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant