diff options
author | mtklein <mtklein@chromium.org> | 2015-10-20 11:05:06 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-10-20 11:05:06 -0700 |
commit | a1bde7d2e152188f8d5a2d0f759030ed032a2522 (patch) | |
tree | de7478fb950b474c5fbc41e5c30c1770a834df0c /tests/RefCntTest.cpp | |
parent | 1d3ff434954189e194c468f429598465146dcf4b (diff) |
Remove SkThread::setProcessorAffinity()
It's only used by a couple unit tests. We have other ways of getting
the same quality testing of our ref-count code now (e.g. TSAN).
BUG=skia:
CQ_EXTRA_TRYBOTS=client.skia.compile:Build-Ubuntu-GCC-x86_64-Release-CMake-Trybot,Build-Mac10.9-Clang-x86_64-Release-CMake-Trybot
Review URL: https://codereview.chromium.org/1408213005
Diffstat (limited to 'tests/RefCntTest.cpp')
-rw-r--r-- | tests/RefCntTest.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/RefCntTest.cpp b/tests/RefCntTest.cpp index b73618d9f3..6a1e0dc2fe 100644 --- a/tests/RefCntTest.cpp +++ b/tests/RefCntTest.cpp @@ -25,9 +25,6 @@ static void test_refCnt(skiatest::Reporter* reporter) { SkThread thing1(bounce_ref, ref); SkThread thing2(bounce_ref, ref); - thing1.setProcessorAffinity(0); - thing2.setProcessorAffinity(23); - SkASSERT(thing1.start()); SkASSERT(thing2.start()); @@ -63,11 +60,6 @@ static void test_weakRefCnt(skiatest::Reporter* reporter) { SkThread thing3(bounce_weak_ref, ref); SkThread thing4(bounce_weak_weak_ref, ref); - thing1.setProcessorAffinity(0); - thing2.setProcessorAffinity(23); - thing3.setProcessorAffinity(2); - thing4.setProcessorAffinity(17); - SkASSERT(thing1.start()); SkASSERT(thing2.start()); SkASSERT(thing3.start()); |