开发者

Is FindFirst,FindNext & FindClose Thread safe in delphi

开发者 https://www.devze.com 2022-12-09 17:28 出处:网络
Is FindFirst,FindNext & FindClose Thread safe in d开发者_运维百科elphi ? If not what should be used in there place ?FindFirst, FindNext & FindClose use API calls and they are Thread safe.

Is FindFirst,FindNext & FindClose Thread safe in d开发者_运维百科elphi ? If not what should be used in there place ?


FindFirst, FindNext & FindClose use API calls and they are Thread safe. Every thread must use its own API handle for file access.


If you don't use a shared TSearchRec variable the routines are thread safe.

0

精彩评论

暂无评论...
验证码 换一张
取 消