Author: Dave Crozier
Posted: 2006-05-17 at 08:40:09
My Results
Multithreaded performance: 11.757 seconds
Single Threaded performance: 133.422 seconds
An impressive speed gain!
Dave Crozier
"If it weren't for C, we'd be writing programs in BASI, PASAL, and OBOL."
-----Original Message-----
From: profox-bounces@leafe.com [mailto:profox-bounces@leafe.com] On Behalf
Of Tristan Leask
Sent: 17 May 2006 13:26
To: profox@leafe.com
Subject: RE: Calvin adds more meat to multithreading
In the words of a drunken English man...
'stoooopendus'
Thanks for the link Dave!!
Tristan
-----Original Message-----
From: profoxtech-bounces@leafe.com [mailto:profoxtech-bounces@leafe.com]
On Behalf Of Dave Crozier
Posted At: 17 May 2006 13:19
Posted To: Profox Archive
Conversation: Calvin adds more meat to multithreading
Subject: Calvin adds more meat to multithreading
Calvin has added more "meat" to his article on multithreading with VFP:
http://blogs.msdn.com/calvin_hsia/archive/2006/05/16/599108.aspx
"Create multiple threads from within your application
When I posted this Sample program to create multiple threads
<http://blogs.msdn.com/calvin_hsia/archive/2006/05/11/595562.aspx> , I knew
the inevitable follow-up question was "can I run my VFP code in separate
threads?". Sure enough, several people asked, citing various valid usage
scenarios.
Below is a class that you can use to run your VFP code in multiple separate
threads. It can create as many threads as you like, each of which is running
VFP code. Because it is a multithreaded sample, it requires the
multithreaded runtime, which is just a few megabytes."
Very good reading.
Dave Crozier
Evolution of the .NET programmer:
* 0 months to 1 month: complete beginner
* 1 month to 1 year: incomplete beginner
* 1 year to 2 years: adept
* 2 years to 3 years: expert
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.392 / Virus Database: 268.6.0/341 - Release Date:
16/05/2006
[excessive quoting removed by server]