重构concurrency