Hands-On Parallel Programming with C# 8 and . NET Core 3 : Build Solid Enterprise Software Using Task Parallelism and Multithreading.: Build Solid Enterprise Software Using Task Parallelism and Multithreading. (2019)
- Record Type:
- Book
- Title:
- Hands-On Parallel Programming with C# 8 and . NET Core 3 : Build Solid Enterprise Software Using Task Parallelism and Multithreading.: Build Solid Enterprise Software Using Task Parallelism and Multithreading. (2019)
- Main Title:
- Hands-On Parallel Programming with C# 8 and . NET Core 3 : Build Solid Enterprise Software Using Task Parallelism and Multithreading.
- Other Names:
- Tanwar, Shakti
- Contents:
- Cover -- Title Page -- Copyright and Credits -- Dedication -- About Packt -- Contributors -- Table of Contents -- Preface -- Section 1: Fundamentals of Threading, Multitasking, and Asynchrony -- Chapter 1: Introduction to Parallel Programming -- Technical requirements -- Preparing for multi-core computing -- Processes -- Some more information about the OS -- Multitasking -- Hyper-threading -- Flynn's taxonomy -- Threads -- Types of threads -- Apartment state -- Multithreading -- Thread class -- Advantages and disadvantages of threads -- The ThreadPool class Advantages, disadvantages, and when to avoid using ThreadPool -- BackgroundWorker -- Advantages and disadvantages of using BackgroundWorker -- Multithreading versus multitasking -- Scenarios where parallel programming can come in handy -- Advantages and disadvantages of parallel programming -- Summary -- Questions -- Chapter 2: Task Parallelism -- Technical requirements -- Tasks -- Creating and starting a task -- The System. Threading. Tasks. Task class -- Using lambda expressions syntax -- Using the Action delegate -- Using delegate -- The System. Threading. Tasks. Task. Factory. StartNew method Using lambda expressions syntax -- Using the Action delegate -- Using delegate -- The System. Threading. Tasks. Task. Run method -- Using lambda expressions syntax -- Using the Action delegate -- Using delegate -- The System. Threading. Tasks. Task. Delay method -- The System. Threading. Tasks. Task. Yield method -- The System.Cover -- Title Page -- Copyright and Credits -- Dedication -- About Packt -- Contributors -- Table of Contents -- Preface -- Section 1: Fundamentals of Threading, Multitasking, and Asynchrony -- Chapter 1: Introduction to Parallel Programming -- Technical requirements -- Preparing for multi-core computing -- Processes -- Some more information about the OS -- Multitasking -- Hyper-threading -- Flynn's taxonomy -- Threads -- Types of threads -- Apartment state -- Multithreading -- Thread class -- Advantages and disadvantages of threads -- The ThreadPool class Advantages, disadvantages, and when to avoid using ThreadPool -- BackgroundWorker -- Advantages and disadvantages of using BackgroundWorker -- Multithreading versus multitasking -- Scenarios where parallel programming can come in handy -- Advantages and disadvantages of parallel programming -- Summary -- Questions -- Chapter 2: Task Parallelism -- Technical requirements -- Tasks -- Creating and starting a task -- The System. Threading. Tasks. Task class -- Using lambda expressions syntax -- Using the Action delegate -- Using delegate -- The System. Threading. Tasks. Task. Factory. StartNew method Using lambda expressions syntax -- Using the Action delegate -- Using delegate -- The System. Threading. Tasks. Task. Run method -- Using lambda expressions syntax -- Using the Action delegate -- Using delegate -- The System. Threading. Tasks. Task. Delay method -- The System. Threading. Tasks. Task. Yield method -- The System. Threading. Tasks. Task. FromResult method -- The System. Threading. Tasks. Task. FromException and System. Threading. Tasks. Task. FromException methods -- The System. Threading. Tasks. Task. FromCanceled and System. Threading. Tasks. Task. FromCanceled methods Getting results from finished tasks -- How to cancel tasks -- Creating a token -- Creating a task using tokens -- Polling the status of the token via the IsCancellationRequested property -- Registering for a request cancellation using the Callback delegate -- How to wait on running tasks -- Task. Wait -- Task. WaitAll -- Task. WaitAny -- Task. WhenAll -- Task. WhenAny -- Handling task exceptions -- Handling exception from single tasks -- Handling exceptions from multiple tasks -- Handling task exceptions with a callback function -- Converting APM patterns into tasks -- Converting EAPs into tasks More on tasks -- Continuation tasks -- Continuing tasks using the Task. ContinueWith method -- Continuing tasks using Task. Factory. ContinueWhenAll and Task. Factory. ContinueWhenAll -- Continuing tasks using Task. Factory. ContinueWhenAny and Task. Factory. ContinueWhenAny -- Parent and child tasks -- Creating a detached task -- Creating an attached task -- Work-stealing queues -- Summary -- Chapter 3: Implementing Data Parallelism -- Technical requirements -- Moving from sequential loops to parallel loops -- Using the Parallel. Invoke method -- Using the Parallel. For method … (more)
- Publisher Details:
- Birmingham : Packt Publishing, Limited
- Publication Date:
- 2019
- Extent:
- 1 online resource (328 pages)
- Subjects:
- 005.275
Parallel programming (Computer science)
C# (Computer program language)
C# (Computer program language)
Parallel programming (Computer science)
Electronic books - Languages:
- English
- ISBNs:
- 9781789133615
1789133610 - Notes:
- Note: Print version record.
- Access Rights:
- Legal Deposit; Only available on premises controlled by the deposit library and to one user at any one time; The Legal Deposit Libraries (Non-Print Works) Regulations (UK).
- Access Usage:
- Restricted: Printing from this resource is governed by The Legal Deposit Libraries (Non-Print Works) Regulations (UK) and UK copyright law currently in force.
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library HMNTS - ELD.DS.481996
- Ingest File:
- 03_034.xml