Re: Can't use TComponent in thread object?
- From: erewhon@xxxxxxxxxx (J French)
- Date: Sat, 25 Nov 2006 13:22:29 GMT
On Sat, 25 Nov 2006 14:04:59 +0100, "Maarten Wiltink"
<maarten@xxxxxxxxxxxxxxxxxx> wrote:
"brett" <account@xxxxxxxxx> wrote in message
news:1164403830.742167.50390@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
How is it possible for one thread to read the size of a file while
another thread is still writing to it? This runs into sharing I/O
errors.
What makes you think the OS should allow that at all? That said, if
the writing process set the right sharing flags, it should be possible
on at least some filesystems.
Better to ask the other thread how many bytes it's written.
Or let the other thread tell you without being asked.
Personally I would break this into two different Apps
- I am wary of threads
.
- References:
- Can't use TComponent in thread object?
- From: brett
- Re: Can't use TComponent in thread object?
- From: Jamie
- Re: Can't use TComponent in thread object?
- From: brett
- Re: Can't use TComponent in thread object?
- From: Rob Kennedy
- Re: Can't use TComponent in thread object?
- From: brett
- Re: Can't use TComponent in thread object?
- From: Nicholas Sherlock
- Re: Can't use TComponent in thread object?
- From: brett
- Re: Can't use TComponent in thread object?
- From: Nicholas Sherlock
- Re: Can't use TComponent in thread object?
- From: brett
- Re: Can't use TComponent in thread object?
- From: Rob Kennedy
- Re: Can't use TComponent in thread object?
- From: brett
- Re: Can't use TComponent in thread object?
- From: Maarten Wiltink
- Can't use TComponent in thread object?
- Prev by Date: Re: Can't use TComponent in thread object?
- Next by Date: moving delphi 6 to a new computer
- Previous by thread: Re: Can't use TComponent in thread object?
- Next by thread: Re: Can't use TComponent in thread object?
- Index(es):
Relevant Pages
|