Commit 35e0ba77 by Nicolas Capens

Use pthread mutexes on all Linux platforms.

Bug chromium:710753 Change-Id: Ie74d86de027417579c9c6949aabad1c3ae89ebfc Reviewed-on: https://swiftshader-review.googlesource.com/9329Reviewed-by: 's avatarCorentin Wallez <cwallez@google.com> Reviewed-by: 's avatarNicolas Capens <capn@google.com> Tested-by: 's avatarNicolas Capens <capn@google.com>
parent dc7759cc
...@@ -17,8 +17,8 @@ ...@@ -17,8 +17,8 @@
#include "Thread.hpp" #include "Thread.hpp"
#ifdef __ANDROID__ #if defined(__linux__)
// Use an actual mutex on Android. Since many processes may use SwiftShader // Use a pthread mutex on Linux. Since many processes may use SwiftShader
// at the same time it's best to just have the scheduler overhead. // at the same time it's best to just have the scheduler overhead.
#include <pthread.h> #include <pthread.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment