yyzybb537 / libgo

Go-style concurrency in C++11
MIT License
3.22k stars 758 forks source link

Scheduler::CreateTask中TaskRefAffinity和TaskRefLocation做什么用的? #169

Closed bigbao9494 closed 5 years ago

bigbao9494 commented 5 years ago

下面这两行没有看懂它们的作用是什么? TaskRefAffinity(tk) = opt.affinity; TaskRefLocation(tk).Init(opt.file, opt.lineno_);

yyzybb537 commented 5 years ago

上面的优先级 已经废弃了 下面的是FILE LINE 打印日志用的