Monitors & Deadlocks
Monitors & Deadlocks

Monitors In my previous post we spoke about locks and resource synchronization. A Monitor also provides a similar set of actions to a lock, but the syntactic sugar slightly differs from locks. They allow a program to ensure only one thread at a time can access a particular object. Rather than controlling a statement or... » read more

Threads
Threads

In this post I am going to talk about Threads in C# and different methods to interact with them. Threads are lower level of abstraction than tasks. A task object represents an item of work to be performed where as thread object represents a process running within an operating system. Threads and Tasks Creation of... » read more

Tasks
Tasks

In this post I am going to talk about creating a task and various method of task library which interacts with task execution in C# Create a task Creating a task is done by providing the method of work to the lambda expression. Start method starts the task and wait method waits for the task... » read more

Parallel LINQ
Parallel LINQ

In continuation to my 100DaysOfCoding, in this post I will talk about Parallel LINQ. Parallel Language-Integrated Query(PLINQ) can be used to allow elements of a query to execute in parallel. Below is a snippet of code which consists of an array of persons. AsParallel Using PLINQ we are selecting the records where the person city... » read more

The Task Parallel Library
The Task Parallel Library

I made up my mind to do couple of challenges starting today for the next 100 days which are #100DaysOfCode and #100DaysOfFitness. I will be publishing a blog every day on my progress on these challenges for the next 100 days. For Coding part, I am planning on doing a Microsoft certification 70-483: Programming in... » read more