aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/threading/windows/rwlock.c
Commit message (Collapse)AuthorAgeFilesLines
* threading: Support rwlock try_write_lock() on WindowsMartin Willi2014-10-301-2/+0
| | | | | | | | | | | 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.
* windows: Include for Vista instead of defining CondVar/SRWLock functions ourselfMartin Willi2014-06-041-3/+2
|
* windows: Provide a complete native Windows threading backendMartin Willi2014-06-041-0/+221