MCPcopy Create free account
hub / github.com/amule-project/amule / QueueWrite

Method QueueWrite

src/PartFileWriteThread.cpp:69–75  ·  view source on GitHub ↗

eMule ref: CPartFileWriteThread::WakeUpCall() — line 230 Called by the main thread to queue a write item.

Source from the content-addressed store, hash-verified

67// eMule ref: CPartFileWriteThread::WakeUpCall() — line 230
68// Called by the main thread to queue a write item.
69void CPartFileWriteThread::QueueWrite(CPartFile* pFile, PartFileBufferedData* pBuffer)
70{
71 wxMutexLocker lock(m_mutex);
72 m_flushList.push_back(ToWrite{ pFile, pBuffer });
73 m_bWorkPending = true;
74 m_condition.Signal();
75}
76
77
78void CPartFileWriteThread::DropReferencesTo(const CKnownFile* file)

Callers 1

FlushBufferMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected