Skip to content

Commit d4ed36b

Browse files
committed
Improved mutex comment
1 parent 6e0c8e3 commit d4ed36b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

offload/include/Shared/APITypes.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,9 @@ struct __tgt_async_info {
7676
/// should be freed after finalization.
7777
llvm::SmallVector<void *, 2> AssociatedAllocations;
7878

79-
/// Mutex to guard access to AssociatedAllocations and the Queue
79+
/// Mutex to guard access to AssociatedAllocations and the Queue.
80+
/// This is only used for liboffload and should be ignored in libomptarget
81+
/// code.
8082
std::mutex Mutex;
8183

8284
/// The kernel launch environment used to issue a kernel. Stored here to

0 commit comments

Comments
 (0)