A

Admin • 802.91K Points
Coach

Q. Which of these is used for creating a new thread in Rust?

  • (A) std::thread::create
  • (B) thread::build
  • (C) std::thread::spawn
  • (D) core::thread::start
  • Correct Answer - Option(C)
  • Views: 4
  • Filed under category Rust
  • Hashtags:

Explanation by: Admin
`std::thread::spawn` is used to create a new thread in Rust.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.