Multithreading
Welcome to multi-threading section of C# Corner. In this section, you will find articles, tutorials, source code samples, tips, and resources related to threading programming in C#.

Links

  • Akkiraju Ivaturi

    Thread synchronization of atomic invariants in .NET 4.5

    The hard part is synchronization of data between threads. This article focuses on Thread Synchronization in .NET 4.5.
    Akkiraju Ivaturi Sep 10, 2012
  • Mahesh Chand

    Parallel Programming: Task Schedulers and Synchronization Context

    This time I’m not going to add any new functionality to my sample application, but rather I will show how you can communicate with the UI thread a little easier and make your application less depen...
    Mahesh Chand Jun 21, 2010
  • Mahesh Chand

    How do I use transactions across threads?

    If you want to start asynchronous threads and have them participate in a transaction, use the DepedentTransaction object. DependentTransction objects can be obtained by called the DependentClone me...
    Mahesh Chand Apr 02, 2007
  • Mahesh Chand

    How do I use explicit transactions in my application?

    If you want to explicitly create a transaction, use the CommittableTransaction class instead of the TransactionScope class.
    Mahesh Chand Apr 02, 2007
  • Mahesh Chand

    How do I use simple transactions in my application?

    The easiest way to use transactions in your code is using TransactionScope. TransactionScope is used to transact a block of code.
    Mahesh Chand Apr 02, 2007
  • Mahesh Chand

    How do I get the outcome of a transaction?

    Here is an example of how to receive the TransactionCompletedEvent event.
    Mahesh Chand Apr 02, 2007
  • Mahesh Chand

    How do I use System.Transactions with SQL?

    The easiest way to perform SQL operations in a transaction is with TransactionScope.
    Mahesh Chand Apr 02, 2007
  • Mahesh Chand

    How do I use System.Transactions with EnterpriseServices Transactions?

    System.Transactions provides functionality that allows interoperability with EnterpriseServices transactions. This sample will show how to use BYOT (Bring Your Own Transactions) with System.Transac...
    Mahesh Chand Apr 02, 2007
  • Mahesh Chand

    How do I enilst on a transaction?

    If you want to build a resource manager or simply vote on the outcome of a transaction you'll need to enlist on that transaction.
    Mahesh Chand Apr 02, 2007
  • Mahesh Chand

    Performance-Conscious Thread Synchronization

    In my career, I have architected and implemented many thread synchronization techniques. This has provided me with a lot of experience that has shaped the way I now think about thread synchronizati...
    Mahesh Chand Oct 12, 2005