| 281 | } |
| 282 | |
| 283 | queue_file* queue_manager::cache_find(const char* key) |
| 284 | { |
| 285 | queue_file* fp = NULL; |
| 286 | std::map<acl::string, queue_file*>::iterator it; |
| 287 | m_queueLocker.lock(); |
| 288 | it = m_queueList.find(key); |
| 289 | if (it != m_queueList.end()) { |
| 290 | fp = it->second; |
| 291 | } |
| 292 | m_queueLocker.unlock(); |
| 293 | return fp; |
| 294 | } |
| 295 | |
| 296 | bool queue_manager::cache_check(queue_file* fp) |
| 297 | { |