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

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

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

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