i can start a Thread using
Code: Select all
hb_threadStart( HB_THREAD_INHERIT_PUBLIC, @Wait4Action() )how can i do it under harbour / HMG
p.s. when work with "Starttime" how to "break" when not need any more
---
under Xbase++ i use :setStartTime() and :start()
Code: Select all
oThread := Thread() :new()
oThread:setStartTime( nSECONDS )
oThread:start( { || Wait4Action() } )
// "cancel" Thread before Start
oThread:setInterval( NIL )