From e81dc95e6fac2503082762c46f7a87bf369e122a Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Sun, 13 Apr 2025 23:12:16 +0800 Subject: [PATCH] Update threading.md --- docs/features/threading.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/features/threading.md b/docs/features/threading.md index 1eb55510..49afee46 100644 --- a/docs/features/threading.md +++ b/docs/features/threading.md @@ -137,4 +137,8 @@ Frame: 2 Frame: 3 Frame: 4 World Generation Complete 3 10000 10 -``` \ No newline at end of file +``` + +`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.