Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Delphi-News aus aller Welt (https://www.delphipraxis.net/58-delphi-news-aus-aller-welt/)
-   -   On Windows, keep the lifetime of relative pathnames as short as possible because of t (https://www.delphipraxis.net/210620-windows-keep-lifetime-relative-pathnames-short-possible-because-t.html)

DP News-Robot 18. Mai 2022 12:10

On Windows, keep the lifetime of relative pathnames as short as possible because of t
 
Subtitle: GetFullPathName thread-unsafety because of SetCurrentDirectory isn’t, so derived functions (like Delphi GetDir/ChDir/TPath.GetFullPath, or .NET System.IO.Path.GetFullPath) are not thread-safe either (via The Old New Thing) A while ago I got a big reminder because of*[Wayback] What are these dire multithreading consequences that the GetFullPathName documentation is trying to warn me about? | The Old New […]

Weiterlesen...


Alle Zeitangaben in WEZ +1. Es ist jetzt 03:11 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz