------- Comment #59 from jakub at gcc dot gnu dot org 2010-06-03 09:10 ------- Why would be volatile needed? pthread_join returning guarantees that the other thread's thread function finished, and the variable is only written in that thread, there is no data race on it.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43170