版权所有:内蒙古大学图书馆 技术提供:维普资讯• 智图
内蒙古自治区呼和浩特市赛罕区大学西街235号 邮编: 010021
版本说明:2
I S B N:(纸本) 9781785881251
出 版 社:Packt Publishing
出 版 年:2016年
主 题 词:Parallel programming (Computer science) Threads (Computer programs) C# (Computer program language) Simultaneous multithreading processors
学科分类:08[工学] 0812[工学-计算机科学与技术(可授工学、理学学位)]
摘 要:Over 70 recipes to get you writing powerful and efficient multithreaded, asynchronous, and parallel programs in C# 6.0 About This Book • 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# Who This Book Is For This book is aimed at those who are new to multithreaded programming, and who are looking for a quick and easy way to get started. It is assumed that you have some experience in C# and .NET already, and you should also be familiar with basic computer science terminology and basic algorithms and data structures. 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 In Detail 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 u