diff options
author | 2015-11-04 06:30:17 -0800 | |
---|---|---|
committer | 2015-11-04 06:30:17 -0800 | |
commit | 7f97a76b805b4cc05f83a965063767f0256ea270 (patch) | |
tree | 8bfd8b01dddd43d7f5044a5f97cd61fcc7e3e7f1 /src/core/SkRemote.cpp | |
parent | f57ef1c05f7ff20a80a8ef01a3fb3d4666612de2 (diff) |
Avoid hang in OncePtr test with --threads 1
Avoid hang in OncePtr test when using "dm --threads 1".
The test will hang the threads until sk_num_cores() threads have run
the code. This requires that sk_num_cores() threads to be run in
parallel, which the global thread pool will not do if the thread count
is smaller than sk_num_cores().
BUG=skia:
Review URL: https://codereview.chromium.org/1419593004
Diffstat (limited to 'src/core/SkRemote.cpp')
0 files changed, 0 insertions, 0 deletions