---
title: "Threading"  
description: "Threading"  
author: "Ritesh Naik"  
published: 2015-02-18  
updated: 2015-02-24  
canonical: https://www.mindstick.com/forum/12962/threading  
category: "c#"  
tags: ["thread", "threading"]  
reading_time: 1 minute  

---

# Threading

when we have to use [multithreading](https://www.mindstick.com/articles/11979/multithreading-with-the-backgroundworker-component-in-asp-dot-net)

## Replies

### Reply by Barbara Jones

1. Your question is very broad. There are few non-trivial systems where the functionality can be met simply, quickly and reliably with only one thread. For example: [pick out a typical system that the target company sells and pick out a couple aspects of its function that would be better threaded off - heavy CPU, comms, multi-user - just pick out something likely & explain].\
2. Depends on what you mean by 'executing tasks'. Multithreading would surely be beneficial if the threads process mutually independent data in a concurrent fashion - it reduces requirements for locks and probabilty of deadlocks increases in a super-linear fashion with the number of locks. OTOH, there is no issue with threads executing the same code, this is safe and very common.\


---

Original Source: https://www.mindstick.com/forum/12962/threading

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
