Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

WFQueue isn't handing out &T, so Send is sufficient:

  unsafe impl<T: Send, const N: usize> Sync for WFQueue<T, N> {}
  unsafe impl<T: Send, const N: usize> Send for WFQueue<T, N> {}


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: