in reply to Re: how to use global vars after forking()in thread how to use global vars after forking()