win32 critical sections vs mutexes

Nigel Nunn nNunn at ausport.gov.au
Fri Mar 17 18:08:41 EST 2000


Christopher Volpe [volpecr at crd.ge.com] writes 

> The vtkMutexLock object uses Win32 mutexes. I'm wondering 
> if anybody is relying on the inter-process (as opposed to 
> merely inTRA-process-inter-thread) capabilities here. If not, 
> I'd like to change the implementation of vtkMutexLock here 
> for performance reasons. If vtkMutexLock must remain as-is 
> for whatever reason, I'd be happy to write a 
> vtkWin32CriticalSection object, but I'd also like to 
> modify vtkTimeStamp to use this (on Win32 only, of course) 
> for synchronizing access to the mtime counter.
> 
> Comments, anyone?

Hi Christopher,

I will need both INTER and INTRA process synchronization, 
so having both classes available seems the right option. 
Thanks for the good work! 

Nigel Nunn
nnunn at ausport.gov.au
--------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at public.kitware.com>. For help, send message body containing
"info vtkusers" to the same address.
--------------------------------------------------------------------



More information about the vtkusers mailing list