mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00

We should wrap the blocking function with a closure. And first creates a go routine to execute the function. Or the inner function blocks before creating the go routine.