aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/threading/windows/thread_value.c
Commit message (Collapse)AuthorAgeFilesLines
* thread-value: Defer cleanup handling to thread termination on WindowsMartin Willi2014-06-171-1/+7
| | | | | | | | | | | Instead of cleaning up all thread-values during destruction, cleanup handler is invoked when a thread detaches. Thread detaching is cough using the Windows DllMain() entry point, and allows us to basically revert 204098a7. Using this mechanism, we make sure that the cleanup handler is invoked by the the correct thread. Further, this mechanism works for externally-spawned threads which run outside of our thread_cb() routine, and works more efficiently with short-running threads.
* windows: Include for Vista instead of defining CondVar/SRWLock functions ourselfMartin Willi2014-06-041-3/+2
|
* thread-value: Immediately cleanup all Windows TLS values on destroyMartin Willi2014-06-041-11/+1
|
* windows: Provide a complete native Windows threading backendMartin Willi2014-06-041-0/+183