Yes you are right, P is a logical processor holding LRQ of go-routines
On Thursday, May 14, 2020 at 1:44:57 PM UTC-7, Ian Lance Taylor wrote:
>
> On Thu, May 14, 2020 at 9:28 AM > wrote:
>
>> I learnt that,
>>
>> the reason we have context(`P`) introduced in Goruntime, is that we can
>> hand
I learnt that,
the reason we have context(`P`) introduced in Goruntime, is that we can
hand them off(it's LRQ of goroutines) to other OS thread(say `M0`), if the
running OS thread(`M1`) needs to block for some reason.
[image: Untitled.png]
--
Above, we see a