Razan Paul Blog

Explaining thoughts and findings is a great way to learn

Browse by Tags

All Tags » Design Pattern (RSS)
Some thoughts about how we can make a thread safe class library
What is Thread safety? Thread safety is making sure that shared  data (Global/static) of a program  is modified by only one thread at a time without any deadlock , starvation , race condition so that program behaves correctly when its methods...
Remora Pattern by Ben Constable
According to Ben Constable, Remora Pattern allows you to attach a chunk of logic to any existing element that you have. This pattern can be implemented using an Attached Dependency Property in WPF. Here an Attached Dependency Property is attached with...
A scheduler to process a list of requests by a specific number of threads in c#.
This scheduler is not a time-based scheduler. It schedules the user tasks according to scheduling policy; scheduling policy is First Come First Serve. It performs the following tasks:       It decides which request to execute...
More Posts