Comment

Comment by lpage

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> {}
parent lpage 3 months ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton