This question shows research effort; it is useful and clear
0
This question does not show any research effort; it is unclear or not useful
Bookmark this question.
Show activity on this post.
我有一个线程句柄 A ,我正在使用它OpenThread。稍后在我的程序中,我需要OpenThread在同一个线程上再次使用并再次获取它的句柄,我们称之为句柄 B。
查看“监视”窗口,我可以看到 A != B。
当线程死亡时,我想关闭其手柄。
仅关闭句柄 A 或仅关闭句柄 B 就足够了吗?还是我需要关闭所有手柄?
我可以要求OpenThread给我一个我之前已经从它那里得到的句柄,还是它总是会给我新的句柄?