Think about it: what makes more sense, the class designer using the appropriate systems only where absolutely needed, or the person using the class trying to figure out what needs locking and deadlock prevention and so on?

 
  • 我们想想这个问题可能会更有意义:类的设计者只有在确实需要的时候才会使用上稳当的机制,类的使用者得自己去找出哪些是需要加锁控制和进行死锁预防的等等?
今日热词
目录 附录 查词历史