Update threading.md

This commit is contained in:
blueloveTH 2025-04-13 23:12:16 +08:00
parent 178e77fec3
commit e81dc95e6f

View File

@ -138,3 +138,7 @@ Frame: 3
Frame: 4
World Generation Complete 3 10000 10
```
`ComputeThread` used `pickle` module to serialize the data between threads.
So parameters and return values must be supported by `pickle`.
See [pickle](https://pocketpy.dev/modules/pickle/) for more details.