[fpc-devel] Safely shareable objects
Hans-Peter Diettrich
DrDiettrich1 at aol.com
Sat Jul 2 03:57:25 CEST 2011
Adem schrieb:
> On 2011-07-02 02:29, Andrew Brunner wrote:
>> 2011/7/1 Adem<listmember at letterboxes.org>:
>> There is no thread-safe way to write to those variables safely without
>> blocking access to each and every object in the entire collection as
>> demonstrated.
>
> Why each and every object? I thought (b)locking only those touched in
> the Attach() procedure (9 nodes, in my ) would be sufficient; wouldn't it?
The more objects with indiviual locks are used together, the higher the
risk of deadlocks (exponential increase?) :-(
DoDi
More information about the fpc-devel
mailing list