]> git.ipfire.org Git - thirdparty/krb5.git/commit
Allow libev to use pthreads on old platforms 513/head
authorGreg Hudson <ghudson@mit.edu>
Sun, 14 Aug 2016 23:00:12 +0000 (19:00 -0400)
committerGreg Hudson <ghudson@mit.edu>
Tue, 16 Aug 2016 15:51:12 +0000 (11:51 -0400)
commit615787708904fd3e472f3be4730cf17c8bba5891
tree3b1dd2e869b357b92ef7dd9b40c11b41a1e967e4
parent847fc7b3caa823c219c97cc307ccb8d7d519a20f
Allow libev to use pthreads on old platforms

The upgrade to libev 4.22 introduced the use of "memory fences" for
more reliable signal processing.  Memory fences are usually
implemented using assembly or compiler primitives, but may be
implemented using pthreads as a last resort.  The unmodified libev
errors out at compile time if pthreads is used, but notes that this
error can be removed if relying on pthreads is okay.  Because the
project's nightly build infrastructure includes an old Solaris machine
whose toolchain is too old for any of the non-pthreads memory fence
implementations, remove the error to allow the build to succeed.  (A
dependency on pthreads functions on Solaris does not require linking
with libpthread.)
src/util/verto/ev.c