设想一下,假设您正在将更改封装到新功能里,来应对迫近的代码冻结期限。
Imagine that you're wrapping up your changes to a new feature to meet an impending code-freeze deadline.
因为任务由多个线程组成,使用IPC机制的代码又被放在线程内部,所以Mach可在消息处理前后冻结和解冻线程。
Since tasks consisted of multiple threads, and it was the code in the threads that used the IPC mechanism, Mach was able to freeze and unfreeze threads while the message was handled.
还有一点经验就是,这种重构可以和正常编码同时发生,根本不需要为了方便合并而冻结代码。
It is also the experience that roll-out can happen concurrently with normal coding, with no code-freeze to facilitate merges at all.
应用推荐