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

Commit 922123f

Browse files
committed
AlignedSpinLock is trusted nogc nothrow
1 parent cf41932 commit 922123f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/internal/spinlock.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ private:
9393
// aligned to cacheline to avoid false sharing
9494
shared align(64) struct AlignedSpinLock
9595
{
96-
this(SpinLock.Contention contention)
96+
this(SpinLock.Contention contention) @trusted @nogc nothrow
9797
{
9898
impl = shared(SpinLock)(contention);
9999
}

0 commit comments

Comments
 (0)