We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
pthread_cond_destroy
1 parent dab463c commit a2a413cCopy full SHA for a2a413c
src/libstd/sys/unix/condvar.rs
@@ -161,14 +161,14 @@ impl Condvar {
161
}
162
163
#[inline]
164
- #[cfg(not(target_os = "dragonfly"))]
+ #[cfg(all(not(target_os = "dragonfly"), not(feature = "macos_before_10_7")))]
165
pub unsafe fn destroy(&self) {
166
let r = libc::pthread_cond_destroy(self.inner.get());
167
debug_assert_eq!(r, 0);
168
169
170
171
- #[cfg(target_os = "dragonfly")]
+ #[cfg(any(target_os = "dragonfly", feature = "macos_before_10_7"))]
172
173
174
// On DragonFly pthread_cond_destroy() returns EINVAL if called on
0 commit comments