Ensure all systemcalls auxiliary structures are multi threading safe Follow up from #865, some parts of that code are from before multi threading was a concern.