aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/threading/mutex.c
Commit message (Collapse)AuthorAgeFilesLines
* mutex: Use atomics to set current thread in recursive mutexTobias Brunner2014-09-091-9/+12
| | | | | | | | Because this->thread is also read by threads that don't hold the mutex the previous implementation was problematic (especially since pthread_t is an opaque type of unknown length). Fixes #654.
* Moved debug.[ch] to utils folderTobias Brunner2012-10-241-1/+1
|
* Use a helper function to add milliseconds to timeval structsTobias Brunner2012-10-181-7/+1
|
* Implemented recursive mutex without thread-specific counterTobias Brunner2012-08-031-23/+17
|
* Migrated mutex_t to INIT/METHOD macros.Tobias Brunner2011-10-031-72/+56
|
* Adding DBG_LIB to all calls of libstrongswan's version of DBG*.Tobias Brunner2010-04-061-2/+2
|
* Use pthread_cond_timedwait_monotonic on Android.Tobias Brunner2009-12-231-0/+5
|
* Using the thread wrapper in charon, libstrongswan and their plugins.Tobias Brunner2009-12-231-0/+1
|
* Check for pthread_condattr_init added to configure script.Tobias Brunner2009-12-231-5/+9
|
* Moved implementation of condvar_t to mutex.c because it requires access to ↵Tobias Brunner2009-12-231-0/+156
| | | | private_mutex_t.
* Separated the public interfaces of the threading primitives.Tobias Brunner2009-12-231-1/+50
|
* Threading primitives separated.Tobias Brunner2009-12-231-393/+2
|
* Moved mutex.c to a separate folder in order to cleanly wrap other threading ↵Tobias Brunner2009-12-231-0/+551
primitives (and utils/mutex.h is now threading.h).