Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2015-08-25 | thread/Posix{Mutex,Cond}: use "constexpr" only with glibc | Max Kellermann | 1 | -8/+8 | |
Apparently all other C libraries are not compatible with "constexpr". Those which are not will get a performance penalty, but at least they work at all. | |||||
2014-09-13 | thread/Posix{Cond,Mutex}: don't ues PTHREAD_*_INITIALIZER on NetBSD | Max Kellermann | 1 | -0/+14 | |
On NetBSD, PTHREAD_MUTEX_INITIALIZER and PTHREAD_COND_INITIALIZER are not compatible with C++11 "constexpr" (see Mantis ticket 0004110). As a workaround, don't ues "constexpr", and use the functions pthread_mutex_init(), pthread_mutex_destroy(), pthread_cond_init() and pthread_cond_destroy() instead. This adds some runtime overhead, but is portable to POSIX implementations that have awkward initializer macros. | |||||
2014-07-02 | thread/{Mutex,Cond}: relicense to BSD-2 | Max Kellermann | 1 | -2/+2 | |
2014-02-18 | thread/Posix{Mutex,Cond}: disable "constexpr" on Android | Max Kellermann | 1 | -1/+4 | |
Bionic's pthread declarations are non-literal. | |||||
2013-04-17 | thread/Cond: add method timed_wait() | Max Kellermann | 1 | -0/+13 | |
2013-01-10 | thread/Cond: new wrapper for pthread_cond_t or GCond | Max Kellermann | 1 | -15/+15 | |
2013-01-10 | thread/PosixMutex: fix indent | Max Kellermann | 1 | -13/+13 | |
2013-01-07 | thread/Mutex: don't use std::mutex | Max Kellermann | 1 | -31/+24 | |
Use a custom pthread_mutex_t wrapper because std::mutex adds overhead. | |||||
2012-01-24 | refcount: add missing stdbool.h include | Max Kellermann | 1 | -0/+1 | |
2011-01-29 | copyright year 2011 | Max Kellermann | 1 | -1/+1 | |
2009-12-31 | Update copyright notices. | Avuton Olrich | 1 | -1/+1 | |
2009-12-31 | refcount: library for reference counting | Max Kellermann | 1 | -0/+66 | |