Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

两个Queue的区别? #1

Open
mengxiangyue opened this issue Jul 7, 2016 · 2 comments
Open

两个Queue的区别? #1

mengxiangyue opened this issue Jul 7, 2016 · 2 comments

Comments

@mengxiangyue
Copy link

有个问题咨询一下,FMDB针对每个DB已经有一个queue了,代码中也针对每个DB新建了GYDataContextQueue,这两个queue的区别是什么?

@Zepo
Copy link
Owner

Zepo commented Jul 7, 2016

GYDataContextQueue 是 cache 的 queue,对于一个 DB 的所有 cache 也要排队操作,同样是为了线程安全与数据的一致性。

@mengxiangyue
Copy link
Author

@Zepo 感谢回复,这样说就明白了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants