Suspend background processes while writing to shared data structures