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

Issue 8362026: Fixed a problem with spurious wakeups. (Closed)

Created:
9 years, 2 months ago by jrgfogh
Modified:
9 years, 1 month ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Fixed a problem with spurious wakeups. Committed: https://code.google.com/p/dart/source/detail?r=597

Patch Set 1 #

Total comments: 12
Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -4 lines) Patch
M runtime/vm/message_queue.cc View 1 chunk +5 lines, -1 line 3 comments Download
M runtime/vm/thread.h View 4 chunks +5 lines, -3 lines 9 comments Download
M runtime/vm/thread_macos.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/vm/thread_test.cc View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
jrgfogh
MessageQueue::Dequeue() may return NULL due to spurious wakeups. I have fixed the problem.
9 years, 2 months ago (2011-10-21 11:50:14 UTC) #1
Søren Gjesse
lgtm
9 years, 2 months ago (2011-10-21 12:19:05 UTC) #2
siva
http://codereview.chromium.org/8362026/diff/1/runtime/vm/message_queue.cc File runtime/vm/message_queue.cc (right): http://codereview.chromium.org/8362026/diff/1/runtime/vm/message_queue.cc#newcode43 runtime/vm/message_queue.cc:43: // Wait may wake up prematurely, so we need ...
9 years, 2 months ago (2011-10-21 21:18:33 UTC) #3
Ivan Posva
Rolled back with http://codereview.chromium.org/8370016/ -Ivan On 2011/10/21 21:18:33, asiva wrote: > http://codereview.chromium.org/8362026/diff/1/runtime/vm/message_queue.cc > File runtime/vm/message_queue.cc ...
9 years, 2 months ago (2011-10-21 23:22:56 UTC) #4
jrgfogh
http://codereview.chromium.org/8362026/diff/1/runtime/vm/message_queue.cc File runtime/vm/message_queue.cc (right): http://codereview.chromium.org/8362026/diff/1/runtime/vm/message_queue.cc#newcode49 runtime/vm/message_queue.cc:49: break; On 2011/10/21 21:18:33, asiva wrote: > This is ...
9 years, 2 months ago (2011-10-24 09:20:42 UTC) #5
Søren Gjesse
9 years, 1 month ago (2011-10-26 12:07:10 UTC) #6
http://codereview.chromium.org/8362026/diff/1/runtime/vm/thread.h
File runtime/vm/thread.h (right):

http://codereview.chromium.org/8362026/diff/1/runtime/vm/thread.h#newcode6
runtime/vm/thread.h:6: #define RUNTIME_VM_THREAD_H_
On 2011/10/24 09:20:42, jrgfogh wrote:
> On 2011/10/21 21:18:33, asiva wrote:
> > Why did you change this? If you look at all the other header files you will
> see
> > a uniform pattern and we need to stick to that.
> A presubmit script told me to do it when I tried to upload the CL. It was
based
> on some version of lint.

That is annoying. When this error is the only one the presubmit script gives run
it wiht --bypass_hooks to upload anyway.

Powered by Google App Engine
This is Rietveld 408576698