Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(410)

Issue 9706033: Fix failing test on windows. I was accessing a stat too early. (Closed)

Created:
8 years, 9 months ago by turnidge
Modified:
8 years, 9 months ago
Reviewers:
Ivan Posva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Fix failing test on windows. I was accessing a stat too early. Committed: https://code.google.com/p/dart/source/detail?r=5487

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -2 lines) Patch
M runtime/vm/thread_pool_test.cc View 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 1 (0 generated)
turnidge
8 years, 9 months ago (2012-03-14 21:18:55 UTC) #1
I was trying to access workers_idle() before the one worker had had a chance to
add itself back to the idle queue.  Remove workers_idle() and workers_running()
checks to avoid race in test.

TBR=iposva

Powered by Google App Engine
This is Rietveld 408576698