Multithreading with C# Cookbook,2nd Edition


Multithreading with C# Cookbook Second Edition
21 Apr 2016
by Eugene Agafonov
Print Length 页数:  264 pages
Publisher finelybook 出版社:‏  Packt Publishing; 2nd Revised edition edition (21 April 2016)
Language 语言:  English
ISBN-10:  1785881256
ISBN-13:  9781785881251
B01BDQK5A4
Key Features
Rewritten and updated to take advantage of the latest C# 6 features
Learn about multithreaded,asynchronous,and parallel programming through hands-on,code-first examples
Use these recipes to build fast,scalable,and reliable applications in C#

Book Description


Multi-core processors are synonymous with computing speed and power in today’s world,which is why multithreading has become a key concern for C# developers. Multithreaded code helps you create effective,scalable,and responsive applications.
This is an easy-to-follow guide that will show you difficult programming problems in context. You will learn how to solve them with practical,hands-on,recipes. With these recipes,you’ll be able to start creating your own scalable and reliable multithreaded applications. Starting from learning what a thread is,we guide you through the basics and then move on to more advanced concepts such as task parallel libraries,C# asynchronous functions,and much more.
Rewritten to the latest C# specification,C# 6,and updated with new and modern recipes to help you make the most of the hardware you have available,this book will help you push the boundaries of what you thought possible in C#.
What you will learn
Use C# 6.0 asynchronous language features
Work with raw threads,synchronize threads,and coordinate their work
Develop your own asynchronous API with Task Parallel Library
Work effectively with a thread pool
Scale up your server application with I/O threads
Parallelize your LINQ queries with PLINQ
Use common concurrent collections
Apply different parallel programming patterns
Use Reactive Extensions to run asynchronous operations and manage their options
About the Author
Eugene Agafonov leads the development department at ABBYY and lives in Moscow. He has over 15 years of professional experience in software development,and he started working with C# when it was in beta version. He is a Microsoft MVP in ASP.NET since 2006,and he often speaks at local software development conferences,such as DevCon Russia,about cutting-edge technologies in modern web and server-side application development. His main professional interests are cloud-based software architecture,scalability,and reliability. Eugene is a huge fan of football and plays the guitar with a local rock band. You can reach him at his personal blog,eugeneagafonov.com,or find him on Twitter at @eugene_agafonov.
ABBYY is a global leader in the development of document recognition,content capture,and language-based technologies and solutions that are integrated across the entire information life cycle.
He is the author of Multhreading in C# 5.0 Cookbook and Mastering C# Concurrency by Packt Publishing.
Contents
Chapter 1. Threading Basics
Chapter 2. Thread Synchronization
Chapter 3. Using a Thread Pool
Chapter 4. Using the Task Parallel Library
Chapter 5. Using C# 6.0
Chapter 6. Using Concurrent Collections
Chapter 7. Using PLINQ
Chapter 8. Reactive Extensions
Chapter 9. Using Asynchronous I/O
Chapter 10. Parallel Programming Patterns
Chapter 11. There’s More
主要特征
重写和更新,以利用最新的C#6功能
通过实践,代码优先的例子了解多线程,异步和并行编程
使用这些配方在C#中构建快速,可扩展和可靠的应用程序
图书说明
多核处理器是当今世界计算速度和功耗的代名词,这就是为什么多线程已经成为C#开发人员关键问题的原因。多线程代码可帮助您创建有效,可扩展和响应的应用程序。
这是一个易于遵循的指南,将显示您在上下文中遇到的困难的编程问题。你将学习如何用实际的,动手的方法来解决它们。通过这些配方,您将可以开始创建自己的可扩展和可靠的多线程应用程序。从学习线程开始,我们引导您完成基础知识,然后介绍更高级的概念,如任务并行库,C#异步函数等等。
重写到最新的C#规范C#6,并更新了新的和现代的食谱,以帮助您充分利用您可用的硬件,本书将帮助您推动您在C#中所想到的可能范围。
你会学到什么
使用C#6.0异步语言功能
使用原始线程,同步线程并协调其工作
使用任务并行库开发自己的异步API
一个线程池有效地工作
使用I / O线程扩展服务器应用程序
使用PLINQ并行化LINQ查询
使用常见的并发集合
应用不同的并行编程模式
使用Reactive Extensions运行异步操作并管理其选项
关于作者
尤金·阿加福诺夫率领A​​BBYY的开发部门住在莫斯科。他在软件开发方面拥有超过15年的专业经验,并在测试版本时开始使用C#。他自2006年起就是ASP.NET中的Microsoft MVP,他经常在当地的软件开发大会上发表演讲,例如DevCon Russia,关于现代网络和服务器端应用程序开发中的尖端技术。他的主要专业兴趣是基于云的软件架构,可扩展性和可靠性。尤金是一个巨大的足球迷,并与当地的摇滚乐队演奏吉他。你可以通过他的个人博客eugeneagafonov.com联系他,或者在Twitter上找到他@eugene_agafonov。
ABBYY是在整个信息生命周期中整合的文档识别,内容捕获和基于语言的技术和解决方案的全球领导者。
他是C#5.0 Cookbook中Multhreading的作者和Packt Publishing掌握C#并发性的作者。
目录
线索基础知识
第二章线程同步
第3章使用线程池
第4章使用任务并行库
第5章使用C#6.0
第6章使用并发收藏
第7章。使用PLINQ
第8章反应扩展
第9章使用异步I / O
第10章并行编程模式
第11章还有更多

打赏
未经允许不得转载:finelybook » Multithreading with C# Cookbook,2nd Edition

评论 抢沙发

觉得文章有用就打赏一下

您的打赏,我们将继续给力更多优质内容

支付宝扫一扫

微信扫一扫