# Concurrency 101

**URL:** <https://forums.swift.org/t/concurrency-101/74161>\
**Category:** Using Swift\
**Tags:** concurrency\
**Created:** [August 26, 2024, 2:10am UTC](https://forums.swift.org/t/concurrency-101/74161 "2024-08-26T02:10:18Z")\
**Posts on this page:** 1\
**Showing post:** 25

<div class="post-metadata">

**Author:** ![ibex](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/ibex/32/30439_2.png) [@ibex](https://forums.swift.org/u/ibex)\
**Post date:** [August 28, 2024, 3:04am UTC](https://forums.swift.org/t/concurrency-101/74161/25 "2024-08-28T03:04:56Z")

</div>

Here are some interesting posts: [1](https://forums.swift.org/t/writing-tests-to-demonstrate-actor-re-entrance-bugs/73969/38) by @aetherealtech and [2](https://forums.swift.org/t/writing-tests-to-demonstrate-actor-re-entrance-bugs/73969/39) by @David_Smith.

> [@Writing tests to demonstrate actor re-entrance bugs](https://forums.swift.org/t/writing-tests-to-demonstrate-actor-re-entrance-bugs/73969/39):
>
> > [@Writing tests to demonstrate actor re-entrance bugs](https://forums.swift.org/t/writing-tests-to-demonstrate-actor-re-entrance-bugs/73969/34):
> >
> > Introducing "concurrency" into code can _only_ mean removing order guarantees that were there before introducing concurrency. I once again ask what could it possibly mean to make code "concurrent" but that doesn't mean removing some order guarantee?
> 
> This is also how I tend to model things. Concurrency is about taking a total ordering of events and finding places to weaken it to a partial ordering without sacrificing the desired results; it's not a coincidence that the lowest level synchronization primitives generally take a "memory ordering" parameter.

---

_[View the full topic](https://forums.swift.org/t/concurrency-101/74161)._
