blender/intern/elbeem
Damien Plisson 1975ee5eec OSX vs OpenMP : implement workaround to fix crashes when using mop from a background thread
Fix# 20043 & 20392

The issue is that OSX lib does not implement TLS (Thread Local Storage), so  libgomp uses pthread functions to read/write thread specific vars.
But this implementation is currently (gcc 4.2) buggy : the write function is called only at lib start (in main thread), and the var is undefined for background thread.

The workaround is to perform this gomp_tls_key var write at beginning of background threads that use openMP. (Currently: render & fluidsim)
2009-12-17 17:05:28 +00:00
..
extern 2.5 2009-01-24 13:47:20 +00:00
intern 2.5: warning fixes 2009-08-15 16:36:25 +00:00
make Merge of itasc branch. Project files, scons and cmake should be working. Makefile updated but not tested. Comes with Eigen2 2.0.6 C++ matrix library. 2009-09-24 21:22:24 +00:00
CMakeLists.txt OSX vs OpenMP : implement workaround to fix crashes when using mop from a background thread 2009-12-17 17:05:28 +00:00
COPYING - bugfixes 2006-11-05 16:30:29 +00:00
COPYING_trimesh2 initial commit of the fluid simulator. 2005-09-18 13:27:12 +00:00
Makefile Makefile updates for Blender 2.5 (from GSR) 2009-03-19 01:50:45 +00:00
SConscript OSX vs OpenMP : implement workaround to fix crashes when using mop from a background thread 2009-12-17 17:05:28 +00:00