Rework pthread_cleanup_* for compatibility kluge.
commit3ff9038b83155a2fd39fa3d9c98b09598a47e146
authorBen Kibbey <bjk@luxsci.net>
Sat, 3 Sep 2016 04:21:00 +0000 (3 00:21 -0400)
committerBen Kibbey <bjk@luxsci.net>
Sat, 3 Sep 2016 05:12:20 +0000 (3 01:12 -0400)
tree4bbe8c5d689125481b9bdb7e49d653edcc121455
parent90aee01ddb853402452bf527922ce80d18fee8a6
Rework pthread_cleanup_* for compatibility kluge.

FreeBSD borks when the same mutex was operated on between a
pthread_cleanup_push() and pthread_cleanup_pop(1). Doesn't seem to
affect pthread_cleanup_pop(0).
src/cache.c