Skip to content
  • Berk Geveci's avatar
    Replaced use of critical section with runtime initialization. · 9b06556c
    Berk Geveci authored
    vtkPolyData class uses a class variable that it was initializing
    lazily - which required a mutex to do in a thread safe way. Since
    mutexes are expensive, I replaced this with a run-time
    initialization, which is thread safe and much less expensive.
    
    Change-Id: I34bcee4b4e5f105a00ebd87129a5debff0170705
    9b06556c