MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / Dequeue

Method Dequeue

pcsx2/DEV9/SimpleQueue.h:63–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61
62template <class T>
63bool SimpleQueue<T>::Dequeue(T* entry)
64{
65 if (!tail->ready.load())
66 return false;
67
68 SimpleQueueEntry* retEntry = tail;
69 tail = retEntry->next;
70
71 *entry = std::move(retEntry->value);
72 delete retEntry;
73 return true;
74}
75
76//Note, next entry may not be ready to dequeue
77template <class T>

Callers 9

recvMethod · 0.80
~SocketAdapterMethod · 0.80
RecvMethod · 0.80
~DHCP_ServerMethod · 0.80
RecvMethod · 0.80
~DNS_ServerMethod · 0.80
IO_WriteMethod · 0.80
PopRecvBuffMethod · 0.80
~TCP_SessionMethod · 0.80

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected