Skip to content


Subversion checkout URL

You can clone with
Download ZIP


bsd: work around missing pthread_condattr_setclock() #615

bnoordhuis opened this Issue · 0 comments

1 participant


976c8a4 adds a call to pthread_condattr_setclock(CLOCK_MONOTONIC) as suggested by yours truly.

The problem is that NetBSD, OpenBSD <= 5.1 and FreeBSD <= 6 don't have that function. Detect that and work around it.

A similar issue may apply to the barrier support that was added in acea302 but probably not - all recent BSDs support the subset of barriers that libuv offers.

@bnoordhuis bnoordhuis was assigned
@bnoordhuis bnoordhuis removed their assignment
@bnoordhuis bnoordhuis closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.