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

Issue 9231020: Use platform implementation of Monitor in thread pool (Closed)

Created:
8 years, 11 months ago by Søren Gjesse
Modified:
8 years, 11 months ago
Reviewers:
Mads Ager (google)
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Use platform implementation of Monitor in thread pool This removes the direct use of pthread API for the thread pool monitor now that that code is shared. It also gets the Windows implementation for free. Next step will be to get rid of using the pthread API for handling the threads as well, but that requires additional operations on the Thread class in platform/thread.h. R=ager@google.com BUG= TEST= Committed: https://code.google.com/p/dart/source/detail?r=3362

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -189 lines) Patch
M runtime/bin/thread_pool.h View 3 chunks +3 lines, -2 lines 0 comments Download
M runtime/bin/thread_pool.cc View 1 chunk +44 lines, -0 lines 0 comments Download
M runtime/bin/thread_pool_linux.h View 1 chunk +0 lines, -18 lines 0 comments Download
M runtime/bin/thread_pool_linux.cc View 1 chunk +0 lines, -59 lines 0 comments Download
M runtime/bin/thread_pool_macos.h View 1 chunk +0 lines, -18 lines 0 comments Download
M runtime/bin/thread_pool_macos.cc View 1 chunk +0 lines, -59 lines 0 comments Download
M runtime/bin/thread_pool_win.h View 1 chunk +0 lines, -12 lines 0 comments Download
M runtime/bin/thread_pool_win.cc View 1 chunk +0 lines, -21 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Søren Gjesse
8 years, 11 months ago (2012-01-17 15:07:50 UTC) #1
Mads Ager (google)
8 years, 11 months ago (2012-01-17 15:33:28 UTC) #2
lgtm

Powered by Google App Engine
This is Rietveld 408576698