Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed some typos | Tobias Brunner | 2013-10-29 | 1 | -1/+1 |
| | |||||
* | rwlock: Disable thread cancelability while waiting in (fallback) rwlock | Martin Willi | 2013-10-24 | 1 | -0/+7 |
| | | | | | | An rwlock wait is not a thread cancellation point. As a canceled thread would not have released the mutex, the rwlock would have been left in unusable state. | ||||
* | rwlock: Don't use buggy pthread_rwlock on OS X | Martin Willi | 2013-10-24 | 1 | -0/+7 |
| | | | | Recursive read locks don't seem to work properly, at least on 10.9. | ||||
* | rwlock: Re-acquire rwlock even if condvar wait times out | Martin Willi | 2013-10-23 | 1 | -1/+1 |
| | | | | | A caller expects that the associated rwlock is held, whether the condvar gets signaled or the wait times out. | ||||
* | 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 | -6/+1 |
| | |||||
* | Properly handle thread cancelation in rwlock_condvar_t | Tobias Brunner | 2012-09-21 | 1 | -15/+20 |
| | |||||
* | Added a condvar implementation that works with rwlock_t | Tobias Brunner | 2012-09-21 | 1 | -0/+126 |
| | |||||
* | Use a single thread-specific value for our custom rwlock_t implementation | Tobias Brunner | 2012-08-03 | 1 | -50/+67 |
| | | | | | | The pthread implementation on Android currently only supports 64 different thread-specific values per process, which we hit easily when every rwlock_t requires one. | ||||
* | Added recursive read_lock support to our own implementation of rwlock_t. | Tobias Brunner | 2012-05-02 | 1 | -4/+35 |
| | |||||
* | Migrated rwlock_t to INIT/METHOD macros. | Tobias Brunner | 2011-10-03 | 1 | -61/+45 |
| | |||||
* | Adding DBG_LIB to all calls of libstrongswan's version of DBG*. | Tobias Brunner | 2010-04-06 | 1 | -3/+3 |
| | |||||
* | Separated the public interfaces of the threading primitives. | Tobias Brunner | 2009-12-23 | 1 | -1/+62 |
| | |||||
* | Implemented a read-write lock using only mutex_t and condvar_t (in case the ↵ | Tobias Brunner | 2009-12-23 | 1 | -0/+150 |
| | | | | pthread_rwlock_* group of functions is not available). | ||||
* | Threading primitives separated. | Tobias Brunner | 2009-12-23 | 1 | -0/+116 |