[fpc-devel] Safely shareable objects

José Mejuto joshyfun at gmail.com
Thu Jun 30 22:02:14 CEST 2011


Hello FPC,

Thursday, June 30, 2011, 9:42:36 PM, you wrote:

HPD> José Mejuto schrieb:

>> So you mean that something like:
>> 
>> IMyObject inherited from IShareable the compiler must add stub code on
>> each function/procedure/property to lock the interface ?

HPD> No. The object is locked as long the code holds the reference to it.

In that case read my note at the end of the e-mail, I think it could
not be done in that way.

-- 
Best regards,
 José




More information about the fpc-devel mailing list