@@ -124,5 +124,8 @@ In chronological order: | |||||
* Dan Kortschak | * Dan Kortschak | ||||
* [2015-01-07] Added test for drotmg bug #484. | * [2015-01-07] Added test for drotmg bug #484. | ||||
* Ton van den Heuvel <https://github.com/ton> | |||||
* [2015-03-18] Fix race condition during shutdown causing a crash in gotoblas_set_affinity(). | |||||
* [Your name or handle] <[email or website]> | * [Your name or handle] <[email or website]> | ||||
* [Date] [Brief summary of your changes] | * [Date] [Brief summary of your changes] |
@@ -1353,6 +1353,8 @@ void DESTRUCTOR gotoblas_quit(void) { | |||||
if (gotoblas_initialized == 0) return; | if (gotoblas_initialized == 0) return; | ||||
blas_shutdown(); | |||||
#ifdef PROFILE | #ifdef PROFILE | ||||
moncontrol (0); | moncontrol (0); | ||||
#endif | #endif | ||||
@@ -1374,8 +1376,6 @@ void DESTRUCTOR gotoblas_quit(void) { | |||||
#ifdef PROFILE | #ifdef PROFILE | ||||
moncontrol (1); | moncontrol (1); | ||||
#endif | #endif | ||||
blas_shutdown(); | |||||
} | } | ||||
#if (defined(C_PGI) || (!defined(C_SUN) && defined(F_INTERFACE_SUN))) && (defined(ARCH_X86) || defined(ARCH_X86_64)) | #if (defined(C_PGI) || (!defined(C_SUN) && defined(F_INTERFACE_SUN))) && (defined(ARCH_X86) || defined(ARCH_X86_64)) | ||||