https://github.com/ViennaRNA/ViennaRNA
Revision 73952f79a27f3a1bb66417083119d1ba47067929 authored by Ronny Lorenz on 20 October 2016, 11:23:49 UTC, committed by Ronny Lorenz on 20 October 2016, 11:23:49 UTC
- This commit fixes a race condition in vrna_mfe() and vrna_mfe_dimer() where after backtracking the MFE structure, each function would re-set the same global base_pair symbol due to backward compatibility issues. Now, wrapper functions that translate the old API to new API 3.0 calls handle setting of this global symbol, since they are not expected to be thread-safe anyway. This should make vrna_mfe(), vrna_mfe_dimer() and related functions thread-safe again.
1 parent 1954900
Tip revision: 73952f79a27f3a1bb66417083119d1ba47067929 authored by Ronny Lorenz on 20 October 2016, 11:23:49 UTC
Fix concurrent access to global symbol base_pair in API 3.0 functions
Fix concurrent access to global symbol base_pair in API 3.0 functions
Tip revision: 73952f7
File | Mode | Size |
---|---|---|
doc | ||
examples | ||
interfaces | ||
m4 | ||
man | ||
misc | ||
packaging | ||
src | ||
tests | ||
.gitignore | -rw-r--r-- | 517 bytes |
.gitmodules | -rw-r--r-- | 0 bytes |
AUTHORS | -rw-r--r-- | 371 bytes |
COPYING | -rw-r--r-- | 859 bytes |
ChangeLog | -rw-r--r-- | 21.7 KB |
INSTALL | -rw-r--r-- | 4.8 KB |
INSTALL.configure | -rw-r--r-- | 7.6 KB |
Makefile.am | -rw-r--r-- | 374 bytes |
NEWS | -rw-r--r-- | 6.7 KB |
README | -rw-r--r-- | 5.2 KB |
RNAlib2.pc.in | -rw-r--r-- | 394 bytes |
THANKS | -rw-r--r-- | 385 bytes |
autogen.sh | -rwxr-xr-x | 1.1 KB |
configure.ac | -rw-r--r-- | 1.7 KB |
licence.txt | -rw-r--r-- | 707 bytes |
Computing file changes ...