JohnLou
V2EX  ›  问与答

Linux 是不是没有线程?

  •  
  •   JohnLou · Aug 8, 2017 · 2109 views
    This topic created in 3233 days ago, the information mentioned may be changed or developed.

    很久以前看书记得这么说的。现在是不是也是这样,现在谁能够给我解释下。

    4 replies    2017-08-08 13:52:10 +08:00
    Nitroethane
        1
    Nitroethane  
       Aug 8, 2017 via Android
    google 搜索 posix threads
    coderluan
        2
    coderluan  
       Aug 8, 2017
    @Nitroethane #1

    Linux 没有线程是指内核是通过一个轻量级进程管理线程的,所以没有线程,楼主应该是问这个,而不是不知道 pthread 之类的。
    lln133208
        3
    lln133208  
       Aug 8, 2017
    Linux 应该是 task
    tabris17
        4
    tabris17  
       Aug 8, 2017
    你这是 10 年前的 linux 了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   978 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 19:57 · PVG 03:57 · LAX 12:57 · JFK 15:57
    ♥ Do have faith in what you're doing.