# Suspending/resuming multiple tasks by using continuations

**URL:** <https://forums.swift.org/t/suspending-resuming-multiple-tasks-by-using-continuations/75342>\
**Category:** Using Swift\
**Tags:** concurrency\
**Created:** [October 13, 2024, 5:52am UTC](https://forums.swift.org/t/suspending-resuming-multiple-tasks-by-using-continuations/75342 "2024-10-13T05:52:27Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![jamieQ](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/jamieq/32/5117_2.png) [@jamieQ](https://forums.swift.org/u/jamieQ)\
**Post date:** [October 13, 2024, 12:34pm UTC](https://forums.swift.org/t/suspending-resuming-multiple-tasks-by-using-continuations/75342/5 "2024-10-13T12:34:34Z")

</div>

> [@vns](#):
>
> I don't think this should compile either.

agreed. this looks like the same data race safety hole issue raised [on GH](https://github.com/swiftlang/swift/issues/76929) and [in this recent post](https://forums.swift.org/t/calling-non-isolated-async-method-from-a-child-task-inheriting-global-actor-allows-for-a-race-condition-in-swift-6/75332).

---

_[View the full topic](https://forums.swift.org/t/suspending-resuming-multiple-tasks-by-using-continuations/75342)._
