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

去掉CONCURRENCY编译条件 #489

Open
hnwyllmm opened this issue Nov 21, 2024 · 0 comments
Open

去掉CONCURRENCY编译条件 #489

hnwyllmm opened this issue Nov 21, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@hnwyllmm
Copy link
Collaborator

Enhancement
当miniob 加上 CONCURRENCY 编译条件之后才会编译出多线程可用的程序。当时这么设计是为了简化程序,特别是对于新手,单线程的程序会更加容易上手。但是现在代码越来越难维护,而且如果测试题目都是单线程时,死锁的调试也是比较容易的,因此默认编译并发,也就是去掉 CONCURRENCY 编译条件没有什么问题。

@hnwyllmm hnwyllmm added the enhancement New feature or request label Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant