Closed xylxi closed 8 years ago
为什么内存缓存中使用pthread_mutex_t,进行加锁而磁盘缓存中使用dispatch_semaphore_t信号量进行加锁呢?希望能解答疑惑,拜托拜托
https://github.com/ibireme/YYCache/issues/50
为什么内存缓存中使用pthread_mutex_t,进行加锁而磁盘缓存中使用dispatch_semaphore_t信号量进行加锁呢?希望能解答疑惑,拜托拜托