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

Add mach_thread_self, thread_suspend, and thread_resume #42

Closed gterzian closed 6 years ago

gterzian commented 6 years ago

FIX #41

gterzian commented 6 years ago

From local testing, this seems to work, however I couldn't find online the proper location for those functions, so I've tentatively put them in thread_act.

Please also advise on the CI failures, which appear unrelated...

gnzlbg commented 6 years ago

Please also advise on the CI failures, which appear unrelated...

I've sent a PR that fixes most of them and restarted the build (some will still be failing though), but don't worry much about these. I'll fix them after merging this :)

gterzian commented 6 years ago

Thanks for the pointers, and ready for review.

gnzlbg commented 6 years ago

The FFI ABI tests are failing, I think it's because one has to import the new mach_init module in mach-test/test/main.rs :)

gterzian commented 6 years ago

Thanks, let's see what it does now(I don't have Xcode installed and it seems I can't run those locally)

gnzlbg commented 6 years ago

Looking good! I'll merge when CI finishes. I'll update some other stuff in mach and release a new version later today.

gterzian commented 6 years ago

Thanks!

gnzlbg commented 6 years ago

Thank you!

gnzlbg commented 6 years ago

@gterzian i've done a release (0.2.3) that contains these changes, thank you again!

gterzian commented 6 years ago

@gnzlbg great, thanks for the release!