| 306 | } |
| 307 | |
| 308 | void NNTPAsyncSession::logConnection(ConnectionLogType logType, Data * buffer) |
| 309 | { |
| 310 | pthread_mutex_lock(&mConnectionLoggerLock); |
| 311 | if (mConnectionLogger != NULL) { |
| 312 | mConnectionLogger->log(this, logType, buffer); |
| 313 | } |
| 314 | pthread_mutex_unlock(&mConnectionLoggerLock); |
| 315 | } |
| 316 | |
| 317 | #if __APPLE__ |
| 318 | void NNTPAsyncSession::setDispatchQueue(dispatch_queue_t dispatchQueue) |