JohnLou
V2EX  ›  问与答

Linux 是不是没有线程?

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

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

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

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