Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions docs/user-guide/workers.md
Original file line number Diff line number Diff line change
Expand Up @@ -251,9 +251,10 @@ computational tasks.

## Understanding limitations

Workers have separate memory spaces. Each worker has its own memory, and
you cannot share objects between workers or with the main thread. All
communication happens via function calls with serialised data.
Each worker is a separate Python interpreter, in a separate memory space,
with a separate virtual filesystem. You cannot share objects between workers,
nor with the main thread. All communication between them happens via function
calls with serialised data.

Only serialisable data can pass between threads. Function arguments and
return values must be JSON-serialisable: numbers, strings, lists,
Expand Down