探究golang的linkname
在编写golang程序的过程中,会经常有一些sleep的需求,于是我们使用time.Sleep函数
跳转到函数定义处发现这个函数定义如下:
// Sleep pauses the current goroutine for at least the duration d.
// A negative or zero duration causes Sleep to return immediately.
func Sleep(d Duration)
没错,只有定义没有实现?显然不是,函数的实现在...
capops.xyz2 min read