| 7 | #include "tex_pool.h" |
| 8 | |
| 9 | TexPool::TexPool(Plugin *_cbPlugin, bool useDefaultQueue) |
| 10 | { |
| 11 | m_storMtx = new thread::RMutex("TexPool::StorMtx"); |
| 12 | if (useDefaultQueue) |
| 13 | { |
| 14 | m_addAsyncQueue = job::JobQueue::DefaultQueue(); |
| 15 | } |
| 16 | else |
| 17 | { |
| 18 | m_addAsyncQueue = new job::JobQueue("TexPool::AddAsyncJobQueue"); |
| 19 | } |
| 20 | m_share = NULL; |
| 21 | m_alive = true; |
| 22 | m_cbPlugin = _cbPlugin; |
| 23 | } |
| 24 | |
| 25 | TexPool::~TexPool() |
| 26 | { |
nothing calls this directly
no outgoing calls
no test coverage detected