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

Issue 7420048: code review 7420048: runtime: start all threads with runtime.mstart (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 4 months ago by rsc
Modified:
12 years, 4 months ago
Reviewers:
akumar, minux1
CC:
golang-dev, dho
Visibility:
Public.

Description

runtime: start all threads with runtime.mstart Putting the M initialization in multiple places will not scale. Various code assumes mstart is the start already. Make it so.

Patch Set 1 #

Patch Set 2 : diff -r 2fd26930dda2 https://code.google.com/p/go/ #

Patch Set 3 : diff -r 2fd26930dda2 https://code.google.com/p/go/ #

Patch Set 4 : diff -r 2fd26930dda2 https://code.google.com/p/go/ #

Total comments: 1

Patch Set 5 : diff -r 2fd26930dda2 https://code.google.com/p/go/ #

Patch Set 6 : diff -r 2fd26930dda2 https://code.google.com/p/go/ #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -79 lines) Patch
M src/pkg/runtime/proc.c View 1 2 3 4 5 10 chunks +28 lines, -15 lines 0 comments Download
M src/pkg/runtime/runtime.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M src/pkg/runtime/sys_freebsd_386.s View 1 1 chunk +1 line, -6 lines 0 comments Download
M src/pkg/runtime/sys_freebsd_amd64.s View 1 1 chunk +2 lines, -7 lines 0 comments Download
M src/pkg/runtime/sys_freebsd_arm.s View 1 2 3 4 1 chunk +1 line, -4 lines 0 comments Download
M src/pkg/runtime/sys_windows_386.s View 1 1 chunk +1 line, -6 lines 0 comments Download
M src/pkg/runtime/sys_windows_amd64.s View 1 1 chunk +1 line, -5 lines 0 comments Download
M src/pkg/runtime/thread_darwin.c View 1 1 chunk +4 lines, -4 lines 0 comments Download
M src/pkg/runtime/thread_freebsd.c View 1 2 chunks +9 lines, -10 lines 0 comments Download
M src/pkg/runtime/thread_linux.c View 1 2 chunks +4 lines, -4 lines 0 comments Download
M src/pkg/runtime/thread_netbsd.c View 1 2 chunks +4 lines, -4 lines 0 comments Download
M src/pkg/runtime/thread_openbsd.c View 1 3 chunks +3 lines, -3 lines 0 comments Download
M src/pkg/runtime/thread_plan9.c View 1 1 chunk +3 lines, -3 lines 1 comment Download
M src/pkg/runtime/thread_windows.c View 1 1 chunk +1 line, -7 lines 0 comments Download

Messages

Total messages: 7
rsc
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go/
12 years, 4 months ago (2013-03-01 16:31:08 UTC) #1
rsc
I expect this to fix Windows, which was breaking because sysmon did not set up ...
12 years, 4 months ago (2013-03-01 16:33:43 UTC) #2
dho
LGTM, all.bash still works on FreeBSD. https://codereview.appspot.com/7420048/diff/2002/src/pkg/runtime/proc.c File src/pkg/runtime/proc.c (right): https://codereview.appspot.com/7420048/diff/2002/src/pkg/runtime/proc.c#newcode247 src/pkg/runtime/proc.c:247: { whitespace?
12 years, 4 months ago (2013-03-01 16:38:03 UTC) #3
rsc
*** Submitted as https://code.google.com/p/go/source/detail?r=d7e930713cc6 *** runtime: start all threads with runtime.mstart Putting the M initialization ...
12 years, 4 months ago (2013-03-01 16:44:50 UTC) #4
akumar
Won't build on Plan 9 without this change. Can you update this, or shall I ...
12 years, 4 months ago (2013-03-01 18:35:06 UTC) #5
minux1
On Sat, Mar 2, 2013 at 2:35 AM, <seed@mail.nanosouffle.net> wrote: > Won't build on Plan ...
12 years, 4 months ago (2013-03-01 18:37:13 UTC) #6
akumar
12 years, 4 months ago (2013-03-01 18:38:55 UTC) #7
Thanks.

On 1 March 2013 18:36, minux <minux.ma@gmail.com> wrote:
>
> On Sat, Mar 2, 2013 at 2:35 AM, <seed@mail.nanosouffle.net> wrote:
>>
>> Won't build on Plan 9 without this change.
>>
>> Can you update this, or shall I do a separate CL?
>
> already fixed by https://codereview.appspot.com/7438052.
Sign in to reply to this message.

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