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

Issue 4190009: AU: Watch for writes on write fds only, and for reads on read fds. (Closed)

Created:
10 years, 1 month ago by petkov
Modified:
9 years, 7 months ago
Reviewers:
adlr
CC:
chromium-os-reviews_chromium.org, petkov, adlr, jrbarnette
Visibility:
Public.

Description

AU: Watch for writes on write fds only, and for reads on read fds. This reduces the CPU load from 100% to 0% when staying idle waiting for a server response. BUG=8200 TEST=unit tests, tested on device Change-Id: I07216076753b4b0dea9672470f1a6d572482f9a2 Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=60e1415

Patch Set 1 #

Patch Set 2 : fix comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -45 lines) Patch
M libcurl_http_fetcher.h View 1 1 chunk +5 lines, -3 lines 0 comments Download
M libcurl_http_fetcher.cc View 2 chunks +60 lines, -42 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
petkov
10 years, 1 month ago (2010-10-27 23:32:09 UTC) #1
adlr
10 years, 1 month ago (2010-10-27 23:43:04 UTC) #2
LGTM

thanks for catching this!

Powered by Google App Engine
This is Rietveld 408576698