runtime: split minit() to mpreinit() and minit()
mpreinit() is called on the parent thread and with mcache (can allocate memory),
minit() is called on the child thread and can not allocate memory.
Please wait on this CL until my "running Go on non-Go threads" CL is in.
This CL is breaking that one, but once it is in, you will be able to run
all.bash to find that out.
I'm just trying to get it working on Windows and ARM and then I'm going to
submit it.
On Wed, Feb 20, 2013 at 8:59 PM, Russ Cox <rsc@golang.org> wrote:
> Please wait on this CL until my "running Go on non-Go threads" CL is in.
> This CL is breaking that one, but once it is in, you will be able to run
> all.bash to find that out.
>
> I'm just trying to get it working on Windows and ARM and then I'm going to
> submit it.
>
>
Do you think it will break your cl? Or you have tried?
At the first glance, they should work fine together. allocm() calls
mcommoninit() which will call mpreinit(). So gsignal will be allocated only
one.
ok
On Wed, Feb 20, 2013 at 9:34 PM, Russ Cox <rsc@golang.org> wrote:
> I have not tried it. I am still trying to unbreak my CL on Windows and
> ARM. I hope to have that done by the time you wake up tomorrow.
>
> Russ
>
>
On 2013/02/20 17:42:16, dvyukov wrote:
> ok
>
>
> On Wed, Feb 20, 2013 at 9:34 PM, Russ Cox <mailto:rsc@golang.org> wrote:
>
> > I have not tried it. I am still trying to unbreak my CL on Windows and
> > ARM. I hope to have that done by the time you wake up tomorrow.
I've synced to tip, and everything works fine.
PTAL
*** Submitted as https://code.google.com/p/go/source/detail?r=734059df2768 *** runtime: split minit() to mpreinit() and minit() mpreinit() is called ...
Issue 7389043: code review 7389043: runtime: split minit() to mpreinit() and minit()
(Closed)
Created 12 years ago by dvyukov
Modified 12 years ago
Reviewers:
Base URL:
Comments: 0