Thanks. clear now.
在2020年8月7日星期五 UTC+8 上午1:00:51 写道:
> On Thu, Aug 6, 2020 at 7:49 AM HailangGe wrote:
> >
> > Recently I was trying to understand how asynchronous preemption is
> implemented in Go 1.14 and
> > basically figured out the call chain.
> >
> > sysmon
> > ↓
> > retake
> > ↓
> > pree
On Thu, Aug 6, 2020 at 7:49 AM HailangGe wrote:
>
> Recently I was trying to understand how asynchronous preemption is
> implemented in Go 1.14 and
> basically figured out the call chain.
>
> sysmon
> ↓
> retake
> ↓
> preemptone
> ↓
> preemptM
> ↓
> signalM(mp,
Recently I was trying to understand how asynchronous preemption is
implemented in Go 1.14 and
basically figured out the call chain.
sysmon
↓
retake
↓
preemptone
↓
preemptM
↓
signalM(mp, sigPreempt)//send SIGURG to mp
↓
doSigPreempt(signal handler)