rust-dpdk icon indicating copy to clipboard operation
rust-dpdk copied to clipboard

`launch` 에서 crossbeam sig 구현

Open leeopop opened this issue 5 years ago • 1 comments
trafficstars

  • std::thread::JoinHandle<T>를 써도 unsafe하게 transmute하면 crossbeam sig를 구현할 수 있습니다.
  • 여하간 이 discussion을 archive하고 지금 코드대로 갑시다.

_Originally posted by @jeehoonkang in https://github.com/render_node/MDE3OlB1bGxSZXF1ZXN0UmV2aWV3NDMwNjcyMjcy/pull_request_reviews/more_threads

leeopop avatar Jun 17 '20 03:06 leeopop

@jeehoonkang 저도 crossbeam 의 sig가 더 표현성이 좋다 생각합니다만 이것이 std 를 unsafe 로 transmute 해서까지 반영해야 하는 motivation은 잘 모르겠습니다. 혹시 제가 모르는 더 큰 motivation이 있는지 궁금합니다.

leeopop avatar Jun 17 '20 03:06 leeopop