and pthread for fluidanimate flags