The source project of this merge request has been removed.
simplify/cleanup code + fix x86_64 thread support
Assumes Jimmy's merge request, merge that first!
WIP: Awaiting review before merging typo correction - or removal of the respective "unsafe" notes if they become obsolete.
Edited by DarkFox