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

Issue 8353010: Workaround a limitation in cygwin with Lock creation. (Closed)

Created:
9 years, 2 months ago by M-A Ruel
Modified:
9 years, 2 months ago
CC:
chromium-reviews, Dirk Pranke
Visibility:
Public.

Description

Workaround a limitation in cygwin with Lock creation. Reuse a common lock to reduce the number of locks created. Poor cygwin users. R=dpranke@chromium.org BUG= TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=106494

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -8 lines) Patch
M gclient_utils.py View 1 chunk +5 lines, -8 lines 2 comments Download

Messages

Total messages: 7 (0 generated)
M-A Ruel
9 years, 2 months ago (2011-10-19 15:11:04 UTC) #1
Dirk Pranke
http://codereview.chromium.org/8353010/diff/1/gclient_utils.py File gclient_utils.py (left): http://codereview.chromium.org/8353010/diff/1/gclient_utils.py#oldcode493 gclient_utils.py:493: self.lock = sys.stdout.lock so what happens if threading.Lock() fails ...
9 years, 2 months ago (2011-10-19 19:40:45 UTC) #2
M-A Ruel
http://codereview.chromium.org/8353010/diff/1/gclient_utils.py File gclient_utils.py (left): http://codereview.chromium.org/8353010/diff/1/gclient_utils.py#oldcode493 gclient_utils.py:493: self.lock = sys.stdout.lock On 2011/10/19 19:40:45, Dirk Pranke wrote: ...
9 years, 2 months ago (2011-10-19 19:47:56 UTC) #3
Dirk Pranke
lgtm. seems like we can remove the single lock on other platforms gives us any ...
9 years, 2 months ago (2011-10-19 21:20:45 UTC) #4
M-A Ruel
On 2011/10/19 21:20:45, Dirk Pranke wrote: > seems like we can remove the single lock ...
9 years, 2 months ago (2011-10-20 14:28:55 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/maruel@chromium.org/8353010/1
9 years, 2 months ago (2011-10-20 14:29:06 UTC) #6
commit-bot: I haz the power
9 years, 2 months ago (2011-10-20 14:34:48 UTC) #7
Change committed as 106494

Powered by Google App Engine
This is Rietveld 408576698