CodePudding user response:
1 set the channel. The closed=12 enumeration channel. Recvq, reset them sudog. Elem, setting sudog. Param=nil
3 enumeration channel. Sendq, set sudog. Elem=nil, setting sudog. Param=nil
4 call goready function recover all the receiver and the sender's G