We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2870269 commit 2e4b1d3Copy full SHA for 2e4b1d3
sycl/source/detail/scheduler/scheduler.cpp
@@ -184,8 +184,7 @@ EventImplPtr Scheduler::addHostAccessor(Requirement *Req) {
184
void Scheduler::releaseHostAccessor(Requirement *Req) {
185
Command *const BlockedCmd = Req->MBlockedCmd;
186
187
- std::unique_lock<std::shared_timed_mutex> Lock(MGraphLock, std::defer_lock);
188
- lockSharedTimedMutex(Lock);
+ std::shared_lock<std::shared_timed_mutex> Lock(MGraphLock);
189
190
assert(BlockedCmd && "Can't find appropriate command to unblock");
191
0 commit comments