amelius a day ago Why didn't they mention threads? bartvk a day ago Oh gosh, that's interesting. I bet that complicates using using errno. Or is errno somehow copied into a local variable? Vogtinator a day ago errno is in thread-local storage (TLS) amelius a day 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 a day ago Oh gosh, that's interesting. I bet that complicates using using errno. Or is errno somehow copied into a local variable? Vogtinator a day ago errno is in thread-local storage (TLS) amelius a day 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 a day ago errno is in thread-local storage (TLS) amelius a day 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 a day 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 :(