k是一个redis的key
当执行到 redis.synchronize_wait(k) ,阻塞go协程
当执行到redis.synchronize_free(k) ,释放分布式锁,释放所有被k阻塞的go协程
相似问题