summaryrefslogtreecommitdiff
path: root/src/notify.hxx
AgeCommit message (Collapse)Author
2014-09-24Merge branch 'v0.18.x'Max Kellermann
2014-09-13thread/Posix{Cond,Mutex}: don't ues PTHREAD_*_INITIALIZER on NetBSDMax Kellermann
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-02-18thread/Posix{Mutex,Cond}: disable "constexpr" on AndroidMax Kellermann
Bionic's pthread declarations are non-literal.
2014-01-13copyright year 2014Max Kellermann
2013-01-10notify: convert to C++Max Kellermann