C plus plus Concurrency in Action

本书探讨了使用C++0x标准进行多线程编程的方法,重点介绍了新标准如何支持多线程应用,并通过示例展示了如何利用这些新特性提高程序性能。

 these are exciting times for C plus plus users.Eleven years afters the origial C plus plus
standard was published in 1998,the C plus plus standards committee is giving the language and its supporting library a major overhaul.The new C plus plus standard (referred to as C++0x) is due to be published in 2010 and will bring with it a whole swathe of changes that
will make working with C plus plus easier and more productive.
   One of the most significant new features in the C plus plus 0x standard is the support of multi-threaded programs.For the first time,the C plus plus standard will acknowledge the existence of multi-threaded applications in the language, and provide components in the library for writting multi-threaded applications.This will make it possible to write multi-threaded c plus plus programs without relying on platform-specific
extensions,and thus allow us to write portable multi-threaded code with guaranteed behaviour. It also comes at time when programmers are increasingly looking to concurrency in general,and multi-threaded programming in particular in order to improve application performance.
   This book is about writing programs in C++ using multile threads for concurrency,and the C plus plus language features and library facilities that make that possible. I'll start by explaining what I mean by concurrency and multi-threading,and why you would want to use it in your applications.After a quick detour into why you might not want to use it in your application,I'll give an overview of the concurrency support in C plus plus,and round off this chapter with a simple example of C plus plus concurrency in action.Readers experienced with developing multi-threaded applications may wish to skip the early sections.In subsequent chapters we'll cover more extensive examples,and look at the library facilites in more depth.The book will finish with an in-depth reference to all the standard C plus plus library facilities for multi-threading and concurrency.
  So,what do I mean by concurrency and multi-threading ?What is Conncurrency? At the simplest and most basic level,conncurrency ia about two or more separate activities happening at the same time. We encounter concurrency as a natural part of life:we can walk and talk at the same time or perform different actions with each hand,and of course we each go about our lives independently of each other -- yo can watch football whilst I go swimming,and so on.

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值