Commit Graph

4 Commits

Author SHA1 Message Date
Romain Vimont
017036ddab Assert non-recursive usage of mutexes 2021-02-05 17:27:26 +01:00
Romain Vimont
fa3e84b700 Expose mutex assertions
Add a function to assert that the mutex is held (or not).
2021-02-04 08:12:22 +01:00
Romain Vimont
1521de9051 Expose thread id 2021-02-04 08:12:22 +01:00
Romain Vimont
eabaabdb78 Wrap SDL thread functions into scrcpy-specific API
The goal is to expose a consistent API for system tools, and paves the
way to make the "core" independant of SDL in the future.
2021-02-04 08:12:22 +01:00