python线程函数调用方法不执行?
0
当在线程函数中调用方法getOriginalValue时,没有执行
如图1:
上面代码位于下面的函数中,如图2:
进行了线程调用,如图3:
结果输出结果:
result begin: []
has predict test doc num one: 0
result begin: []
has predict test doc num one: 12
result begin: []
没有has predict test doc num two(见图片1)
猜想是不是在线程函数中不能直接调用外部函数?
看了几篇Stack Overflow没有找到解决方法。
如图1:
上面代码位于下面的函数中,如图2:
进行了线程调用,如图3:
结果输出结果:
result begin: []
has predict test doc num one: 0
result begin: []
has predict test doc num one: 12
result begin: []
没有has predict test doc num two(见图片1)
猜想是不是在线程函数中不能直接调用外部函数?
看了几篇Stack Overflow没有找到解决方法。
没有找到相关结果
重要提示:提问者不能发表回复,可以通过评论与回答者沟通,沟通后可以通过编辑功能完善问题描述,以便后续其他人能够更容易理解问题.
0 个回复