Chapter 11. Examples

This chapter contains a rich collection of examples, together with explanations, to illustrate usage of Intel Threading Building Blocks. The early examples probably mimic the sorts of operations you will tackle first with Threading Building Blocks, and therefore are useful to get you started quickly. Then we include more complex examples that will help you understand Threading Building Blocks in more depth, and some later examples cover the domains of gaming and packet processing to show how you can develop specialized ways to utilize Threading Building Blocks tailored for your needs.

Starting with this chapter is a fine way to use this book. You can flip back to the earlier chapters for more in-depth discussions of particular features. Experimentation is recommended: pick an example, download and study it, and then modify and experiment with it.

Tip

You can download the source code for all the examples in this chapter from http://www.threadingbuildingblocks.org/book. Look for errata and notes at this web site as well.

Get Intel Threading Building Blocks now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.