aboutsummaryrefslogtreecommitdiffstats
path: root/src/libhydra/attributes/mem_pool.c
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2014-10-22 11:24:51 +0200
committerMartin Willi <martin@revosec.ch>2014-10-30 10:45:24 +0100
commit61e29aca0dcc3e706a97d3b95d988b65723535a5 (patch)
tree2e2be902167fcec0f65a523e42c9fc343e6942b0 /src/libhydra/attributes/mem_pool.c
parent6a3f0467e48dfbced121ac9e1ac818de9b7292e1 (diff)
downloadstrongswan-61e29aca0dcc3e706a97d3b95d988b65723535a5.tar.bz2
strongswan-61e29aca0dcc3e706a97d3b95d988b65723535a5.tar.xz
threading: Support rwlock try_write_lock() on Windows
We explicitly avoided TryAcquireSRWLockExclusive() because of crashes. This issue was caused by a MinGW-w64 bug (mingw-w64 fix 46f77afc). Using a newer toolchain works fine. While try_write_lock() obviously can fail, not supporting it is not really an option, as some algorithms depend on occasionally successful calls. Certificate caching in the certificate manager and the cred_set cache rely on successful try_write_lock()ing.
Diffstat (limited to 'src/libhydra/attributes/mem_pool.c')
0 files changed, 0 insertions, 0 deletions