aboutsummaryrefslogtreecommitdiffstats
path: root/src/notify.hxx (follow)
Commit message (Collapse)AuthorAgeFilesLines
* notify: use "constexpr" only with glibcMax Kellermann2015-09-171-2/+1
| | | | | The Mutex and Cond constructors are only "constexpr" with glibc, and this is what this #ifdef is about.
* notify: Don't use constexpr on HaikuFrançois Revol2015-09-171-1/+2
|
* Copyright year 2015Max Kellermann2015-01-011-1/+1
|
* Merge branch 'v0.18.x'Max Kellermann2014-09-241-1/+1
|\
| * thread/Posix{Cond,Mutex}: don't ues PTHREAD_*_INITIALIZER on NetBSDMax Kellermann2014-09-131-1/+1
| | | | | | | | | | | | | | | | | | | | 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.
* | thread/Posix{Mutex,Cond}: disable "constexpr" on AndroidMax Kellermann2014-02-181-1/+1
| | | | | | | | Bionic's pthread declarations are non-literal.
* | copyright year 2014Max Kellermann2014-01-131-1/+1
|/
* notify: convert to C++Max Kellermann2013-01-101-0/+53