Hi Andreas,
On Thu, 2005-01-06 at 07:38, Andreas Zieringer wrote:
> Hi Patrick,
>
> you can't destroy Lock objects, but if you use the code below it is not
> necessary to destroy the objects.
Hm, that sounds like a cop-out. ;)
Gerrit, is there a reason Locks can't be destroyed? There is a shutdown
method that apparently does destroy them, but it's not public.
Nonetheless, if you need a lot of Locks you can use a LockPool to get by
with less. It just increases the danger of a deadlock, so be careful
when using it.
Inside OpenSG we try to avoid Locks, as they're rather expensive on
multi-processor systems, that's why nobody's worried about it yet.
Dirk
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users