if result = nil then begin\r
result := tthreaddata.create;\r
result.messageevent := teventobject.create(nil,false,false,inttostr(taddrint(result)));\r
result.nexttimer := tv_invalidtimebig;\r
result.threadid := threadid;\r
if result = nil then begin\r
result := tthreaddata.create;\r
result.messageevent := teventobject.create(nil,false,false,inttostr(taddrint(result)));\r
result.nexttimer := tv_invalidtimebig;\r
result.threadid := threadid;\r