Mantis - ALGLIB
Viewing Issue Advanced Details
650 General minor have not tried 2015-04-09 15:23 2015-07-21 16:03
SergeyB  
SergeyB  
normal  
resolved  
fixed  
none    
none 3.10.0  
Unspecified
0000650: FIXED: two race conditions in initializer of HPC ALGLIB for C#
Both race conditions were noticed rarely and only under very heavy load, when ALGLIB functions were called from multiple simultaneously started threads.

First race condition appeared during LoadALGLIBFunctions() call - globally accessible hAlglibDL variable was set before initialization of external native DLL was done.

Second race condition was found in addsearchpath() and resulted in out-of-bounds exception during initialization.
Issue History
2015-04-09 15:23 SergeyB New Issue
2015-04-09 15:23 SergeyB Status new => assigned
2015-04-09 15:23 SergeyB Assigned To => SergeyB
2015-04-09 15:23 SergeyB Programming language => Unspecified
2015-05-13 17:17 user63 File Added: index.html
2015-05-13 17:26 SergeyB File Deleted: index.html
2015-07-21 16:02 SergeyB Summary fix hAlglibDL bug in C# version => FIXED: two race conditions in initializer of HPC ALGLIB for C#
2015-07-21 16:02 SergeyB Description Updated
2015-07-21 16:03 SergeyB Status assigned => resolved
2015-07-21 16:03 SergeyB Fixed in Version => Next release
2015-07-21 16:03 SergeyB Resolution open => fixed

There are no notes attached to this issue.