Distributions
› Ubuntu
› Fedora
› CentOS
中文资源站
› 网易开源镜像站
josephok
V2EX  ›  Linux

errno 是如何实现线程安全的?

  •  
  •   josephok · Jan 5, 2015 · 3843 views
    This topic created in 4323 days ago, the information mentioned may be changed or developed.
    3 replies  •  2015-01-06 20:08:25 +08:00
    songco
    songco
    Jan 5, 2015
    1
    linux下是thread-local的, posix某个版本开始好像也有类似的定义.
    flewover
    flewover
    Jan 5, 2015
    2
    [Thread-safety and POSIX.1](http://www.unix.org/whitepapers/reentrant.html)

    Redefinition of errno 那部分
    c4pt0r
    c4pt0r
    Jan 6, 2015
    3
    thread local
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4952 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 07:08 · PVG 15:08 · LAX 23:08 · JFK 02:08
    ♥ Do have faith in what you're doing.