Skip to content

Commit 828ed64

Browse files
author
Alex Peck
committed
task => thread
1 parent 843e8b9 commit 828ed64

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

BitFaster.Caching/Atomic/AsyncAtomicFactory.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ public async ValueTask<V> CreateValueAsync<TFactory>(K key, TFactory valueFactor
160160
Volatile.Write(ref isInitialized, false);
161161
tcs.SetException(ex);
162162

163-
// always await the task to avoid unobserved task exceptions - normal case is that no other task is waiting.
163+
// always await the task to avoid unobserved task exceptions - normal case is that no other thread is waiting.
164164
// this will re-throw the exception.
165165
await tcs.Task.ConfigureAwait(false);
166166
}

BitFaster.Caching/Atomic/ScopedAsyncAtomicFactory.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ public async ValueTask<Scoped<V>> CreateScopeAsync<TFactory>(K key, TFactory val
179179
Volatile.Write(ref isTaskInitialized, false);
180180
tcs.SetException(ex);
181181

182-
// always await the task to avoid unobserved task exceptions - normal case is that no other task is waiting.
182+
// always await the task to avoid unobserved task exceptions - normal case is that no other thread is waiting.
183183
// this will re-throw the exception.
184184
await tcs.Task.ConfigureAwait(false);
185185
}

0 commit comments

Comments
 (0)