We're sorry but this page doesn't work properly without JavaScript enabled. Please enable it to continue.
Feedback

Ada Task Pools: Multithreading Made Easy

Formal Metadata

Title
Ada Task Pools: Multithreading Made Easy
Title of Series
Number of Parts
199
Author
License
CC Attribution 2.0 Belgium:
You are free to use, adapt and copy, distribute and transmit the work or content in adapted or unchanged form for any legal purpose as long as the work is attributed to the author in the manner specified by the author or licensor.
Identifiers
Publisher
Release Date
Language

Content Metadata

Subject Area
Genre
Abstract
Ada is one of very few programming languages that support multi-threading as part of the language, as opposed to libraries. Last year, we showed how Ada makes it easy to turn a single-threaded program into a multi-threaded program. We ended up with ten thousand threads working concurrently. I will briefly recap this first episode and then continue with the same program, introducing a task pool wherein a small number of threads (one per processor core) process thousands of small work units. This presentation will feature live editing of source code, compilation, and debugging. Questions from beginners are encouraged. It is not necessary to have attended the first installment. The sources of our example program will be provided to those who want to tinker with them.