Excel Multithreaded Code in Open Source Now

What is exactly a multithreaded application? In short, it’s an application capable to run many different "functions" executing concurrently. Multithreaded applications allow multiple threads to run within the context of a single process. These threads share the process' resources and they are able to execute independently and simultaneously. Why run multithreaded applications? Most of today’s computers are multicore and/or multiprocessor capable, so running single threaded applications do not take advance of the hardware capability.

Building Excel custom multithreaded applications in C# is not an easy task. However given the amount of automation implemented in Excel in today’s business environment this task is definitively worth the trouble. Excel 2010 and later versions support multithreading for formula calculations, but what about everything else? Saving multiple data files over a network, connecting to remote databases, downloading data, executing complex interdependent calculations are some of the challenges that can be solved with multithreaded applications running in Excel. Multithreaded code is achievable with the correct techniques applied to the C# code.

I developed a sample Excel Multithreaded applications that demonstrates the difference in performance for single threaded application and multithreaded application downloading 50 Google Searches. The sample applications can be downloaded from:

For additional help please or to request a copy of the trial app please contact me:

https://www.dhirubhai.net/in/daviabdallah

Download the source code from GitHug at:

https://github.com/daviabdallah/MultithreadingSampleApp

 

要查看或添加评论,请登录

Davi Abdallah的更多文章

社区洞察

其他会员也浏览了