SOFA plugin: CImgPlugin  master
Open source framework for multi-physics simuation
cimg_library::cimg Namespace Reference

Functions

Mutex_static & Mutex_attr ()
 

Detailed Description

CImg is a header only library. The consequence is that if compiled in multiple libraries it is unclear where the "main" structure holding the CImg internal mutexes should be. This generates either link time failure as well as problem with the static initialization of the mutex resulting in run-time crashes. To fix this...we are forcing the Mutex_attr function to be defined in the CImgPlugin only and export it.

Function Documentation

◆ Mutex_attr()

Mutex_static& cimg_library::cimg::Mutex_attr ( )