if u wanna lock a func, u'd better use lambda and defer-unlock to lock it
safely. What's more, u can use it as follows: r.cltLock.Lock()<br/>clt :=
r.client<br/>r.cltLock.Unlock()<br/>if clt == nil { }<br/> err =
clt.Create(dubboPath)
[ Full content available at: https://github.com/apache/dubbo-go/pull/294 ]
This message was relayed via gitbox.apache.org for
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]