[Lazarus] Threads in Lazarus code base
graemeg.lists at gmail.com
Sun Sep 19 11:45:25 CEST 2010
On 19 September 2010 01:33, Andrew Brunner wrote:
> On Sat, Sep 18, 2010 at 5:17 PM, Marco van de Voort wrote:
>> Well, one pain less. Delphi deprecated suspending/resuming of threads.
> Sometimes you have to ask what where they thinking?
If you understand the possible problems, it is rather a question of:
"Why did they take so long to deprecate the flaw". Imagine your
thread has locked a major resource, now you suspend that thread. A
instant deadlock occurs because that thread will never release that
This Java website explains the problem rather well.
- Graeme -
fpGUI - a cross-platform Free Pascal GUI toolkit
More information about the Lazarus