Re: [go-nuts] question about HACKING.md

2024-07-18 Thread Ian Lance Taylor
On Thu, Jul 18, 2024 at 11:29 AM Leah Stapleton wrote: > > In the document HACKING.md > (https://github.com/golang/go/blob/master/src/runtime/HACKING.md), it states > that we can determine if we're running on the user or system stack by running > `getg() == getg().m.curg`. > > However if the ou

[go-nuts] question about HACKING.md

2024-07-18 Thread Leah Stapleton
In the document HACKING.md (https://github.com/golang/go/blob/master/src/runtime/HACKING.md), it states that we can determine if we're running on the user or system stack by running `getg() == getg().m.curg`. However if the output of that equality check is true, does that mean we're on user o