In order to spawn a process under Windows, it needs to be pickable - and many decorated functions or Class methods are not.
1
deplives 2019 年 12 月 3 日 我的理解:
需要支持序列化 |
2
wuwukai007 2019 年 12 月 3 日
from functools import wrap
@wraps(func) |
3
Cooky 2019 年 12 月 3 日 via Android
windows 没有 fork,要像 Linux 那种 fork 就只能用 pickle 拷贝整个进程
|
5
oott123 2019 年 12 月 3 日
pickable 就是 pickle able
|
8
oott123 2019 年 12 月 3 日 via Android |