MCPcopy Create free account
hub / github.com/GameTechDev/PresentMon / EnqueuePacketAsync

Method EnqueuePacketAsync

IntelPresentMon/CommonUtilities/log/Channel.cpp:314–317  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

312 }
313 template<class P, typename ...Args>
314 void ChannelInternal_::EnqueuePacketAsync(Args&& ...args)
315 {
316 Queue_(this).enqueue(std::make_shared<P>(std::forward<Args>(args)...));
317 }
318 bool ChannelInternal_::IsWorkerThread() const noexcept
319 {
320 return workerTid_.load() == GetCurrentThreadId();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected