Re: Memory leak in examples

Samuel Tardieu <[email protected]> 10 Aug 2004 15:08:58 +0200
Newsgroups gmane.comp.lang.ada.sockets
Organization Avian Carrier & Friends
Message-ID <[email protected]>
Wojtek> So, as far as I can understand it, in Ada 95, if the task is
Wojtek> not discriminated, you can call Free on an access to it.
Wojtek> Last but not least, the fix actually works under load from a
Wojtek> test script.

It works only by chance. Dmitriy is right: as long as the task is not
terminated, effects on calling Free is not an error but won't do
anything. Task termination happens asynchronously and in your example
you have no guarantee that this will be the case.

  Sam
-- 
Samuel Tardieu -- [email protected] -- http://www.rfc1149.net/sam

_______________________________________________
AdaSockets mailing list
[email protected]
http://lists.rfc1149.net/mailman/listinfo/adasockets