hway 发表于 2004-8-9 16:27:35

question :list_for_each_safe

它和list_for_each有什么区别吗?
删除entry的时候更安全一些?
源码里没看出来怎么safe了?
请指教 谢

Dragonfly 发表于 2004-8-9 22:01:35

yes, safer.

list_for_each will do prefetch. so faster but will have problem when list is changed.
页: [1]
查看完整版本: question :list_for_each_safe