[Lazarus] thread safe

Henry Vermaak henry.vermaak at gmail.com
Fri Jun 10 13:26:00 CEST 2011


On 10/06/11 02:09, Hans-Peter Diettrich wrote:
>
> What is "thread safe"?

The definition is very clear here:

http://en.wikipedia.org/wiki/Thread_safety

> In how far is just FileExistsUTF8 "thread safe"? Even if the file
> existed at function return, it can have been killed by somebody else
> immediately after, even from outside the application.

This example is here:

http://en.wikipedia.org/wiki/Thread_safety#Concurrent_programing

It has nothing to do with thread safety.

Henry




More information about the Lazarus mailing list