| 1f46d60f | 27-Sep-2012 |
Shri Abhyankar <abhyshr@mcs.anl.gov> |
Fixed petscstack and related functions for multi-threaded operations. i) Made petscstack thread local when using threads. ii) Fixed bug in accessing petscstack in PetscStackDestroy_kernel. iii) Al
Fixed petscstack and related functions for multi-threaded operations. i) Made petscstack thread local when using threads. ii) Fixed bug in accessing petscstack in PetscStackDestroy_kernel. iii) All thread local variables are now always accessed via PetscThreadLocalGet/SetValue(). iii) Fixed petscstack and related functions for different threadlocal directives (__thread on Linux, pthread_key_t on MacOS, OpenMP #pragma omp threadprivate()).
Hg-commit: a4b061f37d4921e07d16480340b005b2c620d21f
show more ...
|