aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/threading/thread.h
Commit message (Collapse)AuthorAgeFilesLines
* thread: Allow thread ID to be value returned by gettid()Thomas Egerer2016-03-041-3/+5
| | | | Signed-off-by: Thomas Egerer <thomas.egerer@secunet.com>
* thread: Add a function to pop and call all registered cleanup handlersMartin Willi2015-04-151-0/+10
|
* apple: Introduce a central compatibility header with all __APPLE__ quirksMartin Willi2014-11-211-81/+2
|
* thread: Test for pending cancellation requests before poll()ing on OS XMartin Willi2014-11-211-0/+20
| | | | | As we are now using poll(2) instead of select(2), we need the work-around from 76dc329e for poll() as well.
* thread: Test for pending cancellation requests before select()ing on OS XMartin Willi2014-10-141-0/+28
| | | | | | This fixes some vici test cases on OS X, where the test thread tries to cancel the watcher thread during cleanup, but fails as select() does not honor the pre-issued cancellation request.
* thread: Note that tread_cancellation_point temporarily activates cancelabilityMartin Willi2013-11-061-5/+4
|
* We have to rename thread_create on Mac OS X because it conflicts with a syscall.Tobias Brunner2010-04-291-0/+6
|
* Adding an object-oriented wrapper for threads.Tobias Brunner2009-12-231-0/+187