Cargando…

Multithreading with C# Cookbook /

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 ex...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Agafonov, Eugene (Autor)
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham, UK : Packt Publishing, 2016.
Edición:Second edition.
Temas:
Acceso en línea:Texto completo

MARC

LEADER 00000cam a2200000 i 4500
001 EBSCO_ocn969071101
003 OCoLC
005 20231017213018.0
006 m o d
007 cr cnu---unuuu
008 160421s2016 enk o 000 0 eng d
040 |a FEM  |b eng  |e pn  |c FEM  |d OCLCQ  |d N$T  |d AGLDB  |d EBLCP  |d MERUC  |d CHVBK  |d COO  |d VT2  |d DEBBG  |d WYU  |d LVT  |d STF  |d OCLCF  |d BTN  |d AUW  |d INTCL  |d MHW  |d SNK  |d UKAHL  |d OCLCQ  |d UKMGB  |d OCLCQ  |d CNCEN  |d K6U  |d OCLCQ  |d OCLCO  |d OCLCQ 
015 |a GBB663868  |2 bnb 
016 7 |a 017837331  |2 Uk 
019 |a 966088810  |a 989817907  |a 1103267323 
020 |a 9781785884009  |q (electronic bk.) 
020 |a 178588400X  |q (electronic bk.) 
020 |a 9781785881251 
020 |a 1785881256  |q (Trade Paper) 
024 3 |a 9781785881251 
029 1 |a AU@  |b 000067112179 
029 1 |a CHNEW  |b 000961970 
029 1 |a CHVBK  |b 491706006 
029 1 |a UKMGB  |b 017837331 
035 |a (OCoLC)969071101  |z (OCoLC)966088810  |z (OCoLC)989817907  |z (OCoLC)1103267323 
037 |a 2992164104778112415  |b TotalBoox  |f Ebook only  |n www.totalboox.com 
050 4 |a QA76.73.C153 
072 7 |a COM  |x 051070  |2 bisacsh 
082 0 4 |a 005.133  |2 23 
049 |a UAMI 
100 1 |a Agafonov, Eugene,  |e author. 
245 1 0 |a Multithreading with C# Cookbook /  |c Eugene Agafonov. 
250 |a Second edition. 
260 |a Birmingham, UK :  |b Packt Publishing,  |c 2016. 
300 |a 1 online resource 
336 |a text  |b txt  |2 rdacontent 
337 |a computer  |b c  |2 rdamedia 
338 |a online resource  |b cr  |2 rdacarrier 
347 |a text file 
520 |a 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 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#. Style and approach This is an easy-to-follow guide full of hands-on examples of real-world multithreading tasks. Each topic is explained and placed in context, and for the more inquisitive, there are also more in-depth details of the concepts used. 
588 0 |a Vendor-supplied metadata. 
505 0 |a Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Threading Basics; Introduction; Creating a thread in C#; Pausing a thread; Making a thread wait; Aborting a thread; Determining a thread state; Thread priority; Foreground and background threads; Passing parameters to a thread; Locking with a C# lock keyword; Locking with a Monitor construct; Handling exceptions; Chapter 2: Thread Synchronization; Introduction; Performing basic atomic operations; Using the Mutex construct; Using the SemaphoreSlim construct. 
505 8 |a Using the AutoResetEvent constructUsing the ManualResetEventSlim construct; Using the CountDownEvent construct; Using the Barrier construct; Using the ReaderWriterLockSlim construct; Using the SpinWait construct; Chapter 3: Using a Thread Pool; Introduction; Invoking a delegate on a thread pool; Posting an asynchronous operation on a thread pool; A thread pool and the degree of parallelism; Implementing a cancellation option; Using a wait handle and timeout with a thread pool; Using a timer; Using the BackgroundWorker component; Chapter 4: Using the Task Parallel Library; Introduction. 
505 8 |a Creating a taskPerforming basic operations with a task; Combining tasks; Converting the APM pattern to tasks; Converting the EAP pattern to tasks; Implementing a cancelation option; Handling exceptions in tasks; Running tasks in parallel; Tweaking the execution of tasks with TaskScheduler; Chapter 5: Using C# 6.0; Introduction; Using the await operator to get asynchronous task results; Using the await operator in a lambda expression; Using the await operator with consequent asynchronous tasks; Using the await operator for the execution of parallel asynchronous tasks. 
505 8 |a Handling exceptions in asynchronous operationsAvoiding the use of the captured synchronization context; Working around the async void method; Designing a custom awaitable type; Using the dynamic type with await; Chapter 6: Using Concurrent Collections; Introduction; Using ConcurrentDictionary; Implementing asynchronous processing using ConcurrentQueue; Changing asynchronous processing order with ConcurrentStack; Creating a scalable crawler with ConcurrentBag; Generalizing asynchronous processing with BlockingCollection; Chapter 7: Using PLINQ; Introduction; Using the Parallel class. 
505 8 |a Parallelizing a LINQ queryTweaking the parameters of a PLINQ query; Handling exceptions in a PLINQ query; Managing data partitioning in a PLINQ query; Creating a custom aggregator for a PLINQ query; Chapter 8: Reactive Extensions; Introduction; Converting a collection to an asynchronous Observable; Writing custom Observable; Using the Subjects type; Creating an Observable object; Using LINQ queries against an observable collection; Creating asynchronous operations with Rx; Chapter 9: Using Asynchronous I/O; Introduction; Working with files asynchronously. 
590 |a eBooks on EBSCOhost  |b EBSCO eBook Subscription Academic Collection - Worldwide 
650 0 |a C# (Computer program language) 
650 0 |a Simultaneous multithreading processors. 
650 0 |a Threads (Computer programs) 
650 0 |a Parallel programming (Computer science) 
650 6 |a C# (Langage de programmation) 
650 6 |a Multifil simultané. 
650 6 |a Threads (Logiciels) 
650 6 |a Programmation parallèle (Informatique) 
650 7 |a COMPUTERS  |x Programming Languages  |x C++  |2 bisacsh 
650 7 |a C# (Computer program language)  |2 fast  |0 (OCoLC)fst00843284 
650 7 |a Parallel programming (Computer science)  |2 fast  |0 (OCoLC)fst01052939 
650 7 |a Simultaneous multithreading processors.  |2 fast  |0 (OCoLC)fst01119190 
650 7 |a Threads (Computer programs)  |2 fast  |0 (OCoLC)fst01150298 
655 4 |a Programming Languages; Programming. 
776 0 8 |i Print version:  |a Agafonov, Eugene.  |t Multithreading with C# Cookbook - Second Edition.  |d Birmingham : Packt Publishing, ©2016 
856 4 0 |u https://ebsco.uam.elogim.com/login.aspx?direct=true&scope=site&db=nlebk&AN=1225895  |z Texto completo 
938 |a Askews and Holts Library Services  |b ASKH  |n BDZ0027499273 
938 |a ProQuest Ebook Central  |b EBLB  |n EBL4872191 
938 |a EBSCOhost  |b EBSC  |n 1225895 
994 |a 92  |b IZTAP