Example #1
0
//////////////////////////////////////////////////////////////////////////
// onFileChunkReady
void CsResource::onFileChunkReady( BcU32 ChunkIdx, BcU32 ChunkID, void* pData )
{
	fileChunkReady( ChunkIdx, ChunkID, pData );
}
Example #2
0
//////////////////////////////////////////////////////////////////////////
// delegateFileChunkReady
void CsResource::delegateFileChunkReady( CsFile* pFile, BcU32 ChunkIdx, const CsFileChunk* pChunk, void* pData )
{
	BcScopedLock< BcAtomicMutex > Lock( Lock_ );
	fileChunkReady( ChunkIdx, pChunk, pData );
	release();
}