問題タブ [gdc]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
57 問題
0
投票する
1
に答える
416
参照
ios - Playground - DispatchQueue と DispatchSemaphore の関係
次の例のように、DispatchQueue と DispatchSemaphore.Like と混同しています。
1...40 を出力するはずだと思いますが、実際には約 25 しか出力されません。結果は次のようになります。
どういう理由ですか?