Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
Merge pull request #2427 from rainers/issue17431
Browse files Browse the repository at this point in the history
fix Issue 17431 - GCBits should be @nogc to prevent deadlocks
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
  • Loading branch information
dlang-bot committed Dec 30, 2018
2 parents 25a55b9 + 0eccb23 commit 8b02a86
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gc/bits.d
Expand Up @@ -25,6 +25,7 @@ import core.exception : onOutOfMemoryError;

struct GCBits
{
@nogc:
alias size_t wordtype;

enum BITS_PER_WORD = (wordtype.sizeof * 8);
Expand Down

0 comments on commit 8b02a86

Please sign in to comment.