Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2007 Jul : Reding files from threads, using Mutex or TCriticalSection
| Subject: | Reding files from threads, using Mutex or TCriticalSection |
| Posted by: | "Tobias" (tobias_..@hotmail.com) |
| Date: | Mon, 2 Jul 2007 13:59:37 |
Hello,
I have two programs that have a thread each that reads the same file.
Do i have to lock the file with a mutex or is it enough too just use a
TCriticalSection in the threads?
//Tobias