dimanche 20 avril 2014

Golang Chdir and Setuid and Setgid thread safety


Vote count:

0




Are os. Chdir, os.Setuid and os.Setgid thread-safe in Go?


In otherwords, if I do a os.Chdir (or the other two functions) in two different goroutines running in parallel, is it going change directory for the working goroutine or the whole process (which can cause problems)?


I couldn't find any information in the documentation.



asked 14 secs ago

Khash

1,128





Aucun commentaire:

Enregistrer un commentaire