Author | Topic: THREADID() | |
---|---|---|
Rudolf Reinthaler | THREADID() on Mon, 14 Sep 2009 10:02:42 +0200 Hello, I have a problem determining the actual thread id. In this special case it does always return 0. In all other functions with threads it works without problems. regards Rudolf function tab_auftrag() ****************************************************************** local o:=Thread():new() local bBlock := {||_tab_auftrag()} o:Start(bBlock) return .t. FUNCTION _tab_auftrag() ****************************************************************** dcqdebug threadid() always 0 dcqdebug ThreadInfo( THREADINFO_TID + THREADINFO_SYSTHND + THREADINFO_FUNCINFO + THREADINFO_TOBJ ) Thread is visible .... |