What is going on in Unix with errno's limited nature utcc.utoronto.ca 12 points by ingve 12 hours ago
amelius 11 hours ago Why didn't they mention threads? bartvk 10 hours ago Oh gosh, that's interesting. I bet that complicates using using errno. Or is errno somehow copied into a local variable? Vogtinator 9 hours ago errno is in thread-local storage (TLS) amelius 9 hours ago Yes. It is too bad that they didn't use a similar solution for the current working directory. Chdir() is process-wide, not thread local :(
bartvk 10 hours ago Oh gosh, that's interesting. I bet that complicates using using errno. Or is errno somehow copied into a local variable? Vogtinator 9 hours ago errno is in thread-local storage (TLS) amelius 9 hours ago Yes. It is too bad that they didn't use a similar solution for the current working directory. Chdir() is process-wide, not thread local :(
Vogtinator 9 hours ago errno is in thread-local storage (TLS) amelius 9 hours ago Yes. It is too bad that they didn't use a similar solution for the current working directory. Chdir() is process-wide, not thread local :(
amelius 9 hours ago Yes. It is too bad that they didn't use a similar solution for the current working directory. Chdir() is process-wide, not thread local :(
Why didn't they mention threads?
Oh gosh, that's interesting. I bet that complicates using using errno. Or is errno somehow copied into a local variable?
errno is in thread-local storage (TLS)
Yes. It is too bad that they didn't use a similar solution for the current working directory. Chdir() is process-wide, not thread local :(