问答文章1 问答文章501 问答文章1001 问答文章1501 问答文章2001 问答文章2501 问答文章3001 问答文章3501 问答文章4001 问答文章4501 问答文章5001 问答文章5501 问答文章6001 问答文章6501 问答文章7001 问答文章7501 问答文章8001 问答文章8501 问答文章9001 问答文章9501

...程序是执行完一个再到另外一个的???而不是同时执行的??

发布网友 发布时间:2024-10-17 01:43

我来回答

1个回答

热心网友 时间:2024-11-03 10:06

把你的代码复制下来,在我电脑上跑了一下,运行结果如下

Runer1 Thread: 0
Runer1 Thread: 1
Runer1 Thread: 2
Runer1 Thread: 3
Runer1 Thread: 4
Runer1 Thread: 5
Runer1 Thread: 6
Runer1 Thread: 7
Runer1 Thread: 8
Runer1 Thread: 9
main Thread ------0
Runer1 Thread: 10
Runer1 Thread: 11
Runer1 Thread: 12
Runer1 Thread: 13
Runer1 Thread: 14
Runer1 Thread: 15
Runer1 Thread: 16
Runer1 Thread: 17
Runer1 Thread: 18
Runer1 Thread: 19
Runer1 Thread: 20
Runer1 Thread: 21
Runer1 Thread: 22
Runer1 Thread: 23
Runer1 Thread: 24
Runer1 Thread: 25
Runer1 Thread: 26
Runer1 Thread: 27
Runer1 Thread: 28
Runer1 Thread: 29
Runer1 Thread: 30
Runer1 Thread: 31
Runer1 Thread: 32
Runer1 Thread: 33
Runer1 Thread: 34
Runer1 Thread: 35
Runer1 Thread: 36
Runer1 Thread: 37
Runer1 Thread: 38
Runer1 Thread: 39
Runer1 Thread: 40
Runer1 Thread: 41
Runer1 Thread: 42
Runer1 Thread: 43
Runer1 Thread: 44
Runer1 Thread: 45
main Thread ------1
main Thread ------2
main Thread ------3
main Thread ------4
main Thread ------5
main Thread ------6
main Thread ------7
main Thread ------8
main Thread ------9
main Thread ------10
main Thread ------11
main Thread ------12
main Thread ------13
main Thread ------14
main Thread ------15
main Thread ------16
main Thread ------17
main Thread ------18
main Thread ------19
main Thread ------20
main Thread ------21
main Thread ------22
main Thread ------23
main Thread ------24
main Thread ------25
main Thread ------26
main Thread ------27
main Thread ------28
main Thread ------29
main Thread ------30
main Thread ------31
main Thread ------32
main Thread ------33
main Thread ------34
main Thread ------35
main Thread ------36
main Thread ------37
main Thread ------38
main Thread ------39
main Thread ------40
main Thread ------41
main Thread ------42
main Thread ------43
main Thread ------44
main Thread ------45
main Thread ------46
main Thread ------47
main Thread ------48
main Thread ------49
main Thread ------50
main Thread ------51
main Thread ------52
main Thread ------53
main Thread ------54
main Thread ------55
Runer1 Thread: 46
main Thread ------56
Runer1 Thread: 47
main Thread ------57
Runer1 Thread: 48
Runer1 Thread: 49
Runer1 Thread: 50
Runer1 Thread: 51
Runer1 Thread: 52
Runer1 Thread: 53
Runer1 Thread: 54
Runer1 Thread: 55
Runer1 Thread: 56
Runer1 Thread: 57
Runer1 Thread: 58
Runer1 Thread: 59
Runer1 Thread: 60
Runer1 Thread: 61
Runer1 Thread: 62
Runer1 Thread: 63
Runer1 Thread: 64
Runer1 Thread: 65
Runer1 Thread: 66
main Thread ------58
Runer1 Thread: 67
Runer1 Thread: 68
main Thread ------59
Runer1 Thread: 69
main Thread ------60
Runer1 Thread: 70
main Thread ------61
main Thread ------62
main Thread ------63
main Thread ------64
main Thread ------65
main Thread ------66
main Thread ------67
main Thread ------68
main Thread ------69
main Thread ------70
main Thread ------71
main Thread ------72
main Thread ------73
main Thread ------74
main Thread ------75
main Thread ------76
main Thread ------77
Runer1 Thread: 71
Runer1 Thread: 72
Runer1 Thread: 73
Runer1 Thread: 74
Runer1 Thread: 75
Runer1 Thread: 76
Runer1 Thread: 77
Runer1 Thread: 78
Runer1 Thread: 79
Runer1 Thread: 80
Runer1 Thread: 81
Runer1 Thread: 82
Runer1 Thread: 83
Runer1 Thread: 84
Runer1 Thread: 85
Runer1 Thread: 86
Runer1 Thread: 87
Runer1 Thread: 88
main Thread ------78
Runer1 Thread: 89
Runer1 Thread: 90
Runer1 Thread: 91
Runer1 Thread: 92
Runer1 Thread: 93
Runer1 Thread: 94
Runer1 Thread: 95
Runer1 Thread: 96
Runer1 Thread: 97
Runer1 Thread: 98
Runer1 Thread: 99
main Thread ------79
main Thread ------80
main Thread ------81
main Thread ------82
main Thread ------83
main Thread ------84
main Thread ------85
main Thread ------86
main Thread ------87
main Thread ------88
main Thread ------89
main Thread ------90
main Thread ------91
main Thread ------92
main Thread ------93
main Thread ------94
main Thread ------95
main Thread ------96
main Thread ------97
main Thread ------98
main Thread ------99
声明声明:本网页内容为用户发布,旨在传播知识,不代表本网认同其观点,若有侵权等问题请及时与本网联系,我们将在第一时间删除处理。E-MAIL:11247931@qq.com
耳机的价格是多少? 请问市净率是什么意思.高好还是低好? 股票中市净率高好还是低好? 市净率为什么越低越好 市净率到底是高好还是低好? airpods整盒丢了能定位吗(丢失AirPods盒子,如何定位?) “DJ”是“Dumb Jerk”缩写,它在中文里是什么意思? “DJ”指什么? “DJ”是“Daniel Jeremiah”缩写的中文意思是什么? 联想笔记本w7系统怎样改无线密码 我要组装一台电脑。想要能够相当相当的流畅的玩cf穿越火线希望给个配... 电脑这个处理器型号是几核的 --这个CPU看型号是几核?/如何看出来。请详细讲解//谢谢// ...让我组织去西冲,杨梅坑那边玩一天,有没有哪位同仁有好的推荐呢,最... 我这手机是小米4s上面写着要激活,手机是捡到的也没人打电话了,可是_百 ... ...市去樟木头的观音山一天来回够吗?还有就是回来东莞市怎么坐车? 我没有考科一只是面签了.不想学了能退款吗.驾校 ...了..驾校一直拖延时间不安排考科一,跟我一起报名的同事 梦幻西游如何消除弱点技能 4s还原过后怎么激活不了,怎么激活 苦瓜蛋花汤有什么制作方法分享? 阿里娱乐宝怎么运作,能提供7%年化收益率? 百发有戏和娱乐宝收益哪个更高? 娱乐宝什么时候收益 根管治疗后是不是要观察一段时间确保治疗有效再弄牙套 求问关于法律不定项选择题,经济法,合同法,担保法之类的 《合同法》强调合同自愿,充分尊重当事人意愿,但下列事项不享有自愿选择... 我妈被别的商户打了,可对方认识派出所的人 我想摆脱一个目无法律敢在派出所绑人嚣张无赖男人的纠缠 苏州昆山陆家派出所做假口供该怎么办 手机接电话为什么听不到声音,手机总是想电视手动调台那样响。而且 我能... 国际米兰大清洗 《山海经》里面的东西真的存在吗,我真的越来越疑惑了……? 怪谈新耳袋在线看的地址,谁有啊 怪谈新耳袋幽灵公寓在线观看 有没有人看过怪谈新耳袋?恐怖吗?据说看了第一百集会有灵异事件发生所以... 购房合同65万发票怎么只开了63万 田桥行政区划 谢家庙村位于哪里 湖州市里面有什么好玩的地方 黄豆能保存多久 黄豆能保存的时间 海宁到杭州黄龙体育馆坐到哪个汽车站最近,除了西站 海宁到杭州自己开车路线怎么走? 要去延安路那里,从海宁市区出发,有转 ... 从海宁到杭州最快要多长时间??? 购房合同65万发票怎么只开了63万 内存条就是加内存的?它还提供开软件的速度吗?电脑内存条 求助,寝室里的无线路由器怎么弄 led灯多少伏电压 led灯的电压 在太空中铅笔和钢笔哪个不能使用