Reg : Problem calling user defined function from a thread