ependi_buzz
Results
2
comments of
ependi_buzz
> 在外部拿到conn后不能直接调用c.AsyncWrite方法吗? 我的业务场景是broker收到客户端的消息发给mq, 收到mq的消息找到conn,然后直接调用c.AsyncWrite发给客户端。 看代码是可以这么做的,因为添加task是通过cas操作的,是线程安全的 ```func (q *lockFreeQueue) Enqueue(task Task) { n := &node{value: task} loop: tail := load(&q.tail) next := load(&tail.next) // Are tail and next consistent? if tail...
同样一个虚拟机,编译lede能成功。同样的设备型号