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
miniyao
V2EX  ›  Python

Python Thread 线程用完了会立即自动销毁吗?

  •  
  •   miniyao · 2019-05-31 15:54:32 +08:00 via Android · 3408 次点击
    这是一个创建于 1763 天前的主题,其中的信息可能已经有所发展或是发生改变。
    一个 Thread 线程任务完成了,自动从内存中清空吗?还是要等计数器重新统计?
    6 条回复    2019-06-04 14:42:02 +08:00
    yth492300648
        1
    yth492300648  
       2019-05-31 19:59:29 +08:00
    python 不是只有进程没有线程吗
    holajamc
        2
    holajamc  
       2019-05-31 22:48:57 +08:00
    @yth492300648 ???
    vincexu
        3
    vincexu  
       2019-05-31 23:11:58 +08:00 via Android
    楼上的也是神了 2333
    yth492300648
        4
    yth492300648  
       2019-06-01 20:07:48 +08:00
    @holajamc py 多线程不是没用吗
    lowman
        5
    lowman  
       2019-06-03 11:15:37 +08:00
    @yth492300648 估计是你说的吧! 要不你和龟叔确认一下, 问他到底有用没用?
    bnbdfg
        6
    bnbdfg  
       2019-06-04 14:42:02 +08:00
    把我看懵了
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5250 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 05:43 · PVG 13:43 · LAX 22:43 · JFK 01:43
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.