title: In Rust, how can I create task that runs in its own OS thread?
body: <p><strong>This question is no longer relevant: Rust green threading is gone.  All tasks correspond to a thread.</strong></p>
  
  <p>Rust tasks run in a pool of threads managed by the runtime.</p>
  
  <p>I am calling some code via the FFI that will block, and I'll be doing it in a tight loop.</p>
  
  <p>How do I spawn a task on its own OS thread?</p>
  
  <p>The two concerns are that the thread stays scheduled on its thread, and that the work stealing scheduler doesn't bring additional work onto this thread.</p>