1.创建enclave
2.创建16线程进行同步任务调用
3.编译为二进制程序
第一次执行:通过无问题
第二次执行:进入D状态
[root@openEuler ~]# ps aux | grep secgear
root 8779 0.0 0.0 2852 1468 pts/0 D+ 15:15 0:00 /vendor/bin/secgear_switchless_wakeup_multicall
root 8781 0.0 0.0 21524 1920 pts/1 S+ 15:15 0:00 grep --color=auto secgear
Hi lijiaming666, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: sig-confidential-computing, and any of the maintainers: @blue , @chenmaodong , @itrustee_kernel , @dongdo-yao , @houmingyong , @modric , @hzero1996
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
测试用例中默认16个线程的异步调用task_id是0 .. 15
实际上16个线程异步调用执行时,有的线程开始执行时,有的线程已经结束,会复用空闲的id
查询时使用 0 .. 15 查询,会导致有些异步结果未查询,线程未释放。
测试用例适配,用调用异步调用时返回的task_id
登录 后才可以发表评论