SerializedAsyncContin: LockSet should take Qutex, not SpinLock
Apparently this error was here the whole time and it flew under the radar.
This commit is contained in:
@@ -24,7 +24,7 @@ public:
|
|||||||
SerializedAsynchronousContinuation(
|
SerializedAsynchronousContinuation(
|
||||||
const std::shared_ptr<ComponentThread> &caller,
|
const std::shared_ptr<ComponentThread> &caller,
|
||||||
Callback<OriginalCbFnT> originalCbFn,
|
Callback<OriginalCbFnT> originalCbFn,
|
||||||
std::vector<std::reference_wrapper<SpinLock>> requiredLocks = {})
|
std::vector<std::reference_wrapper<Qutex>> requiredLocks = {})
|
||||||
: PostedAsynchronousContinuation<OriginalCbFnT>(caller, originalCbFn),
|
: PostedAsynchronousContinuation<OriginalCbFnT>(caller, originalCbFn),
|
||||||
requiredLocks(*this, std::move(requiredLocks))
|
requiredLocks(*this, std::move(requiredLocks))
|
||||||
{}
|
{}
|
||||||
|
|||||||
Reference in New Issue
Block a user