Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1891)

Issue 6350106: Add a skia method to perform an atomic add. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 11 months ago by Leon
Modified:
11 years, 11 months ago
Reviewers:
bungeman
CC:
skia-review_googlegroups.com
Base URL:
https://skia.googlecode.com/svn/trunk
Visibility:
Public.

Description

Add a skia method to perform an atomic add. Complements sk_atomic_inc for when you want to increase by more than one. Committed: https://code.google.com/p/skia/source/detail?r=4614

Patch Set 1 #

Patch Set 2 : Added a test case #

Patch Set 3 : Set the processor affinity. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+104 lines, -3 lines) Patch
M gyp/tests.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M include/core/SkThread.h View 1 chunk +1 line, -0 lines 0 comments Download
M include/core/SkThread_platform.h View 3 chunks +15 lines, -2 lines 0 comments Download
M src/ports/SkThread_none.cpp View 1 chunk +6 lines, -0 lines 0 comments Download
M src/ports/SkThread_pthread.cpp View 2 chunks +14 lines, -0 lines 0 comments Download
M src/ports/SkThread_win.cpp View 2 chunks +7 lines, -1 line 0 comments Download
A tests/AtomicTest.cpp View 1 2 1 chunk +60 lines, -0 lines 0 comments Download

Messages

Total messages: 3
Leon
11 years, 11 months ago (2012-07-13 19:12:40 UTC) #1
Leon
New patch also sets the processor affinity in the test.
11 years, 11 months ago (2012-07-13 21:06:17 UTC) #2
bungeman
11 years, 11 months ago (2012-07-13 21:21:29 UTC) #3
On 2012/07/13 21:06:17, scroggo-work wrote:
> New patch also sets the processor affinity in the test.

LGTM
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b