Skip to content
Snippets Groups Projects

API: Run dav1d_init under pthread_once

Merged Derek Buitenhuis requested to merge dwbuiten/dav1d:threadsafety into master
All threads resolved!

This makes the function thread safe, to call, for example, from multiple transient dependecies or threads.

NB: Wasn't sure if it's OK to put a global pthread_once_t variable in lib.c, or if there's a more preferred place.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Derek Buitenhuis added 24 commits

    added 24 commits

    Compare with previous version

  • Derek Buitenhuis resolved all discussions

    resolved all discussions

  • Derek Buitenhuis resolved all discussions

    resolved all discussions

  • Ping.

  • Ronald S. Bultje
  • LGTM!

    Regarding the styling issue, I guess this should be an extra commit (but not necessarily in this MR)

  • Hugo Beauzée-Luyssen resolved all discussions

    resolved all discussions

  • Derek Buitenhuis added 19 commits

    added 19 commits

    Compare with previous version

  • Please register or sign in to reply
    Loading