# fix await multithreaded data race · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/84e952c230ddb9c2bd232958010d2045384532eb)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 84e952c230ddb9c2bd232958010d2045384532eb

Requested commit: 84e952c230ddb9c2bd232958010d2045384532eb

Commit: 84e952c230ddb9c2bd232958010d2045384532eb

Tree: 23e153f531fd723e19314320fb87424301d92f21

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
fix await multithreaded data race

coro return was reading from a value that coro await was
writing to. that wasn't how it was designed to work, it
was an implementation mistake.

this commit also has some work-in-progress code for fixing
error return traces across suspend points.

```

## Parents

- [3b3649b86f74d08013b669a6a4eac573f8d7fa23](https://git.cafe/gitcafe/zig/commit/3b3649b86f74d08013b669a6a4eac573f8d7fa23?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/84e952c230ddb9c2bd232958010d2045384532eb?format=markdown)
