Skip to content

Add mutex to avoid race-condition in libass#77

Open
moi15moi wants to merge 1 commit into
peerless2012:masterfrom
moi15moi:mutex
Open

Add mutex to avoid race-condition in libass#77
moi15moi wants to merge 1 commit into
peerless2012:masterfrom
moi15moi:mutex

Conversation

@moi15moi
Copy link
Copy Markdown
Contributor

libass isn't thread safe, so let's have some mutex to avoid calling it concurrently.

This is basically the same PR has #70, but the difference is that the mutex in from the C side. I personnally perfer that since it allow us to have a better control when we need/dont need it.

libass isn't thread safe, so let's have some mutex to avoid calling it concurrently.
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