fitzgen / mach

A rust interface to the Mach 3.0 kernel that underlies OSX.
https://docs.rs/mach
Other
81 stars 28 forks source link

Implement more thread related api #41

Closed gterzian closed 6 years ago

gterzian commented 6 years ago

For use in https://github.com/servo/servo/pull/21673, I would be interested in adding the following functions:

  1. mach_thread_self
  2. thread_suspend
  3. thread_resume

Could you please share a rough outline of how I would go about it?