Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mutex: Use atomics to set current thread in recursive mutex | Tobias Brunner | 2014-09-09 | 1 | -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 folder | Tobias Brunner | 2012-10-24 | 1 | -1/+1 |
| | |||||
* | Use a helper function to add milliseconds to timeval structs | Tobias Brunner | 2012-10-18 | 1 | -7/+1 |
| | |||||
* | Implemented recursive mutex without thread-specific counter | Tobias Brunner | 2012-08-03 | 1 | -23/+17 |
| | |||||
* | Migrated mutex_t to INIT/METHOD macros. | Tobias Brunner | 2011-10-03 | 1 | -72/+56 |
| | |||||
* | Adding DBG_LIB to all calls of libstrongswan's version of DBG*. | Tobias Brunner | 2010-04-06 | 1 | -2/+2 |
| | |||||
* | Use pthread_cond_timedwait_monotonic on Android. | Tobias Brunner | 2009-12-23 | 1 | -0/+5 |
| | |||||
* | Using the thread wrapper in charon, libstrongswan and their plugins. | Tobias Brunner | 2009-12-23 | 1 | -0/+1 |
| | |||||
* | Check for pthread_condattr_init added to configure script. | Tobias Brunner | 2009-12-23 | 1 | -5/+9 |
| | |||||
* | Moved implementation of condvar_t to mutex.c because it requires access to ↵ | Tobias Brunner | 2009-12-23 | 1 | -0/+156 |
| | | | | private_mutex_t. | ||||
* | Separated the public interfaces of the threading primitives. | Tobias Brunner | 2009-12-23 | 1 | -1/+50 |
| | |||||
* | Threading primitives separated. | Tobias Brunner | 2009-12-23 | 1 | -393/+2 |
| | |||||
* | Moved mutex.c to a separate folder in order to cleanly wrap other threading ↵ | Tobias Brunner | 2009-12-23 | 1 | -0/+551 |
primitives (and utils/mutex.h is now threading.h). |