@@ -205,13 +205,15 @@ public struct DiscardingTaskGroup {
205
205
let flags = taskCreateFlags (
206
206
priority: priority, isChildTask: true , copyTaskLocals: false ,
207
207
inheritContext: false , enqueueJob: false ,
208
- addPendingGroupTaskUnconditionally: true , isDiscardingTask: true
208
+ addPendingGroupTaskUnconditionally: true , isDiscardingTask: true ,
209
+ isSynchronousStart: false
209
210
)
210
211
#else
211
212
let flags = taskCreateFlags (
212
213
priority: priority, isChildTask: true , copyTaskLocals: false ,
213
214
inheritContext: false , enqueueJob: true ,
214
- addPendingGroupTaskUnconditionally: true , isDiscardingTask: true
215
+ addPendingGroupTaskUnconditionally: true , isDiscardingTask: true ,
216
+ isSynchronousStart: false
215
217
)
216
218
#endif
217
219
@@ -252,13 +254,15 @@ public struct DiscardingTaskGroup {
252
254
let flags = taskCreateFlags (
253
255
priority: priority, isChildTask: true , copyTaskLocals: false ,
254
256
inheritContext: false , enqueueJob: false ,
255
- addPendingGroupTaskUnconditionally: false , isDiscardingTask: true
257
+ addPendingGroupTaskUnconditionally: false , isDiscardingTask: true ,
258
+ isSynchronousStart: false
256
259
)
257
260
#else
258
261
let flags = taskCreateFlags (
259
262
priority: priority, isChildTask: true , copyTaskLocals: false ,
260
263
inheritContext: false , enqueueJob: true ,
261
- addPendingGroupTaskUnconditionally: false , isDiscardingTask: true
264
+ addPendingGroupTaskUnconditionally: false , isDiscardingTask: true ,
265
+ isSynchronousStart: false
262
266
)
263
267
#endif
264
268
@@ -281,7 +285,8 @@ public struct DiscardingTaskGroup {
281
285
let flags = taskCreateFlags (
282
286
priority: nil , isChildTask: true , copyTaskLocals: false ,
283
287
inheritContext: false , enqueueJob: true ,
284
- addPendingGroupTaskUnconditionally: true , isDiscardingTask: true
288
+ addPendingGroupTaskUnconditionally: true , isDiscardingTask: true ,
289
+ isSynchronousStart: false
285
290
)
286
291
287
292
// Create the task in this group.
@@ -317,7 +322,8 @@ public struct DiscardingTaskGroup {
317
322
let flags = taskCreateFlags (
318
323
priority: nil , isChildTask: true , copyTaskLocals: false ,
319
324
inheritContext: false , enqueueJob: true ,
320
- addPendingGroupTaskUnconditionally: false , isDiscardingTask: true
325
+ addPendingGroupTaskUnconditionally: false , isDiscardingTask: true ,
326
+ isSynchronousStart: false
321
327
)
322
328
323
329
// Create the task in this group.
@@ -635,7 +641,8 @@ public struct ThrowingDiscardingTaskGroup<Failure: Error> {
635
641
let flags = taskCreateFlags (
636
642
priority: priority, isChildTask: true , copyTaskLocals: false ,
637
643
inheritContext: false , enqueueJob: true ,
638
- addPendingGroupTaskUnconditionally: true , isDiscardingTask: true
644
+ addPendingGroupTaskUnconditionally: true , isDiscardingTask: true ,
645
+ isSynchronousStart: false
639
646
)
640
647
641
648
// Create the task in this group.
@@ -666,7 +673,8 @@ public struct ThrowingDiscardingTaskGroup<Failure: Error> {
666
673
let flags = taskCreateFlags (
667
674
priority: priority, isChildTask: true , copyTaskLocals: false ,
668
675
inheritContext: false , enqueueJob: true ,
669
- addPendingGroupTaskUnconditionally: false , isDiscardingTask: true
676
+ addPendingGroupTaskUnconditionally: false , isDiscardingTask: true ,
677
+ isSynchronousStart: false
670
678
)
671
679
672
680
// Create the task in this group.
0 commit comments