Click here to Skip to main content
12,450,909 members (49,150 online)
Click here to Skip to main content

Tagged as

Stats

11K views
6 bookmarked
Posted

Use Thread-local Storage to Reduce Synchronization

, 2 Jun 2010 CPOL
Synchronization is often an expensive operation that can limit the performance of a multithreaded program. Using thread-local data structures instead of data structures shared by the threads can reduce synchronization in certain cases, allowing a program to run faster.

Editorial Note

This article is in the Product Showcase section for our sponsors at CodeProject. These articles are intended to provide you with information on products and services that we consider useful and of value to developers.

No downloads associated with this content

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Intel ISN
United States United States
No Biography provided

You may also be interested in...

Pro
Pro
| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.160826.1 | Last Updated 2 Jun 2010
Article Copyright 2010 by Intel ISN
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid