V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
haython
V2EX  ›  Python

python 多进程下怎么再用多线程?

  •  
  •   haython · 2014-11-28 14:44:41 +08:00 · 2674 次点击
    这是一个创建于 3437 天前的主题,其中的信息可能已经有所发展或是发生改变。
    我想开启多进程,然后每个进程又开启多线程,要怎么弄啊?
    第 1 条附言  ·  2014-11-28 15:49:20 +08:00
    每个线程里都是一个死循环,但是这样做了之后,发现每个线程执行一次就会退出
    1 条回复    2014-11-28 14:58:13 +08:00
    nomaka
        1
    nomaka  
       2014-11-28 14:58:13 +08:00
    你原来多线程怎么弄 在进程里就怎么弄啊
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2660 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 01:59 · PVG 09:59 · LAX 18:59 · JFK 21:59
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.