[vtkusers] Why vtkAbstractTransform don't use vtkCriticalSection instead of vtkSimpleCriticalSection ?

REGAT-BARREL Aurélien arbvtk at yahoo.fr
Wed Aug 11 03:48:12 EDT 2004


David Gobbi <dgobbi at imaging.robarts.ca> wrote:

A vtkSimpleCriticalSection takes up a few bytes less (100 or so?) than a
vtkCriticalSection, specifically because it is not a subclass of vtkObject.


My test shows that it saves 24 bytes (52 - 28). But my question is : what is vtkCriticalSection for ? Why don't use only vtkSimpleCriticalSection and remove / replace vtkCriticalSection ?

When should we use vtkCriticalSection ?


Aurélien REGAT-BARREL
		
---------------------------------
Créez gratuitement votre Yahoo! Mail avec 100 Mo de stockage !
Créez votre Yahoo! Mail

Le nouveau Yahoo! Messenger est arrivé ! Découvrez toutes les nouveautés pour dialoguer instantanément avec vos amis.Téléchargez GRATUITEMENT ici !
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20040811/0bb0a270/attachment.htm>


More information about the vtkusers mailing list