看完GIL之后的一点理解
在多核CPU服务器上,将进程绑定到绑定到指定CPU,再在进程下启用多线程。实现多核多线程高并发!
部分测试代码摘自网络:
understanding_bindingcpu_socket:http://www.cnblogs.com/liujshi/p/5968205.html
understanding_bindingcpu_countdown:http://blog.csdn.net/i2cbus/article/details/24529133
dsgdtc/understanding_bindingcpu
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
看完GIL之后的一点理解
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published