use std::thread;
      
      thread::spawn(move || {
        // thread code here
      });
      

      Rust language logo
      Spawn a thread

      0

      211

      avatar
      gioyik
      Codiga's Rust Recipes

      Quickly spawn a thread using the std library

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.