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

Issue 40133: Adding support for non joinable threads to PlatformThread (Closed)

Created:
11 years, 9 months ago by willchan no longer on Chromium
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Added a new method CreateNonJoinable() to PlatformThread. Added the windows and posix implementations. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=11053

Patch Set 1 #

Total comments: 2

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 2

Patch Set 4 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -6 lines) Patch
M base/platform_thread.h View 1 2 3 2 chunks +5 lines, -1 line 0 comments Download
M base/platform_thread_posix.cc View 1 2 3 3 chunks +28 lines, -5 lines 0 comments Download
M base/platform_thread_win.cc View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
willchan no longer on Chromium
It'd be nice to have non-joinable thread support for implementing a threadpool that dynamically allocates ...
11 years, 9 months ago (2009-03-04 22:17:34 UTC) #1
darin (slow to review)
normally, we use joinable threads to help make shutdown sane. threads that create other threads ...
11 years, 9 months ago (2009-03-04 22:58:18 UTC) #2
willchan no longer on Chromium
On 2009/03/04 22:58:18, darin wrote: > normally, we use joinable threads to help make shutdown ...
11 years, 9 months ago (2009-03-04 23:20:47 UTC) #3
darin (slow to review)
> Ah, these are interesting points. I was planning on using this for the > ...
11 years, 9 months ago (2009-03-04 23:51:25 UTC) #4
darin (slow to review)
the interface lgtm http://codereview.chromium.org/40133/diff/1/3 File base/platform_thread_posix.cc (right): http://codereview.chromium.org/40133/diff/1/3#newcode95 Line 95: bool PlatformThread::CreateNonJoinable(size_t stack_size, Delegate* delegate) ...
11 years, 9 months ago (2009-03-05 19:22:32 UTC) #5
willchan no longer on Chromium
http://codereview.chromium.org/40133/diff/1/3 File base/platform_thread_posix.cc (right): http://codereview.chromium.org/40133/diff/1/3#newcode95 Line 95: bool PlatformThread::CreateNonJoinable(size_t stack_size, Delegate* delegate) { On 2009/03/05 ...
11 years, 9 months ago (2009-03-05 20:06:55 UTC) #6
darin (slow to review)
LGTM http://codereview.chromium.org/40133/diff/13/1007 File base/platform_thread_posix.cc (right): http://codereview.chromium.org/40133/diff/13/1007#newcode111 Line 111: PlatformThreadHandle thread_handle; in cases like this, i ...
11 years, 9 months ago (2009-03-05 21:11:02 UTC) #7
willchan no longer on Chromium
http://codereview.chromium.org/40133/diff/13/1007 File base/platform_thread_posix.cc (right): http://codereview.chromium.org/40133/diff/13/1007#newcode111 Line 111: PlatformThreadHandle thread_handle; On 2009/03/05 21:11:02, darin wrote: > ...
11 years, 9 months ago (2009-03-05 22:05:03 UTC) #8
darin (slow to review)
11 years, 9 months ago (2009-03-05 22:47:09 UTC) #9
LGTM

Powered by Google App Engine
This is Rietveld 408576698