in reply to Fork Sharing Globals
You don't want globals.
For sharing among threads, see: threads::shared