I've updated the VFP MT example (at http://codegallery.gotdotnet.com/SednaY)
based on Calvin's example to be sort of like .NET:
Example Use:
* t=CREATEOBJECT('testserver.thread')
* t.start(5,"do c:\MTmyVFP\MyThreadFunc WITH p2")
* && start method params:(1)#threads,(2)VFP code to MT,(3)Silent mode
* ?t.check && returns .T. if completed
* t=null && cleanup
Simple, fast, efficient - it is VFP!! And, yes, it's really
multi-threaded...

Re: New VFP multi-threading example posted by Stefan

Stefan
Tue May 30 08:46:19 CDT 2006

Thank you Claude.


-Stefan


"Claude Fox" <cfuchs@activevfp.com> schrieb im Newsbeitrag
news:%23le7zq%23gGHA.2188@TK2MSFTNGP04.phx.gbl...
> I've updated the VFP MT example (at http://codegallery.gotdotnet.com/SednaY) based on
> Calvin's example to be sort of like .NET:
> Example Use:
> * t=CREATEOBJECT('testserver.thread')
> * t.start(5,"do c:\MTmyVFP\MyThreadFunc WITH p2")
> * && start method params:(1)#threads,(2)VFP code to MT,(3)Silent mode
> * ?t.check && returns .T. if completed
> * t=null && cleanup
> Simple, fast, efficient - it is VFP!! And, yes, it's really multi-threaded...
>



Re: New VFP multi-threading example posted by LeAnne

LeAnne
Thu Jun 01 08:35:55 CDT 2006

Brilliant

"Claude Fox" <cfuchs@activevfp.com> wrote in message
news:%23le7zq%23gGHA.2188@TK2MSFTNGP04.phx.gbl...
> I've updated the VFP MT example (at
> http://codegallery.gotdotnet.com/SednaY) based on Calvin's example to be
> sort of like .NET:
> Example Use:
> * t=CREATEOBJECT('testserver.thread')
> * t.start(5,"do c:\MTmyVFP\MyThreadFunc WITH p2")
> * && start method params:(1)#threads,(2)VFP code to MT,(3)Silent mode
> * ?t.check && returns .T. if completed
> * t=null && cleanup
> Simple, fast, efficient - it is VFP!! And, yes, it's really
> multi-threaded...
>