APLDN Forum Index APLDN
APL2000 Developer Network Forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

APLNextSupervisor - Sample1

 
Post new topic   Reply to topic    APLDN Forum Index -> APLNextSupervisor
View previous topic :: View next topic  
Author Message
joe_blaze



Joined: 11 Feb 2007
Posts: 230
Location: Box 361 Brielle, NJ 08730-0361

PostPosted: Fri Jul 09, 2010 10:08 UTC    Post subject: APLNextSupervisor - Sample1 Reply with quote

Attached is a zip-format file containing Sample1 for the APLNext Supervisor. The sample application illustrates how an APL+Win application could incorporate asynchronous calculation elements to improve performance.

This sample includes the APL+Win 'kernel' function and an APL+Win 'controlling application' to illustrate how an APL+Win application can take advantage of multi-processor hardware.

In addition the sample includes a C# .Net 4.0 'controlling application' project which uses the APLNext Supervisor to call the APL+Win 'kernel' function to perform calculations asynchronously.

Review the included Sample1ReadMe.txt file and the APLNext Supervisor documentation for additional information.

This example is designed to be a very simple illustration of how an application system could be re-purposed to use multi-threading. In this example the processing work performed by the 'kernel' function is, by design, trivial and the number of executions of the 'kernel' function is, by design, small.

The potential benefits of multi-threading are balanced against the overhead of marshalling the data between the controlling application and the kernel function. Thus multi-threading will generally benefit an application system only if the kernel function performs significant processing and the kernel function will be executed many times.

_________________
Bringing APL into the .Net mainstream! Ask me about the VisualAPL application software development environment that is fully integrated with Microsoft Visual Studio.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    APLDN Forum Index -> APLNextSupervisor All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group