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

同时使用多线程和多进程加速计算 #24

Open
Jasonsey opened this issue Jun 9, 2023 · 0 comments
Open

同时使用多线程和多进程加速计算 #24

Jasonsey opened this issue Jun 9, 2023 · 0 comments

Comments

@Jasonsey
Copy link
Owner

Jasonsey commented Jun 9, 2023

目前代码,要么是多进程、要么是多线程;如果可以在一个:with Pool(process=10, thread=5) as p 下就自动实现10进程,每个进程开5线程,岂不是完美?

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

1 participant