Passing Data to Other Processes

Talk it through with a coach who asks guiding questions and gives hints until you reach the answer. Pass to mark the challenge as completed.

The problem

  • medium
  • Pro

You move a slow function onto a process pool and hit three problems: passing a lambda fails with a pickling error, a global list the workers append to stays empty in the main program, and on Windows the script fails with an error about starting a new process before the current one has finished bootstrapping. Explain each problem and its fix.

Talk this problem through with an AI coach

This is a Pro challenge. Sign in with Google, then upgrade to start a voice session.

Start free →