Skip to content

Random IT Utensils

IT, operating systems, maths, and more.

  • .NET Internals Cookbook
  • Bio
  • Series and interesting posts
  • Talks, Papers, Workshops
    • Async Biggest C# Mistake
    • Debugging Memory Leaks in .NET
    • DLL Injection in Windows
    • Exploring memory in .NET
    • From Bulb to High Level Language
    • Generics everywhere
    • Hacking C# From the Inside
    • Integer Linear Programming
    • Internals of Async
    • Internals of Exceptions
    • Manual Memory Management
    • Ordering the Chaos
    • Understanding Windows and .NET

Tag: WinAPI

.NET Inside Out Part 15 — Starting process on different desktop

February 29, 2020February 29, 2020 ~ 1 Comment

This is the fifteenth part of the .NET Inside Out series. For your convenience you can find other parts in the table of contents in Part 1 – Virtual and non-virtual calls in C# Windows supports multiple desktops for a long time. We may want to run an application on different one than the current … Continue reading .NET Inside Out Part 15 — Starting process on different desktop

Concurrency Part 10 — Reentrant mutex

November 2, 2019January 2, 2021 ~ Leave a comment

This is the tenth part of the Concurrency series. For your convenience you can find other parts in the table of contents in Part 1 – Mutex performance in .NET We have already seen how to implement custom mutex using memory mapped files and CAS operation. It has one drawback — it is not reentrant. … Continue reading Concurrency Part 10 — Reentrant mutex

Concurrency Part 8 — Tracking mutex owner

October 19, 2019January 2, 2021 ~ Leave a comment

This is the eighth part of the Concurrency series. For your convenience you can find other parts in the table of contents in Part 1 – Mutex performance in .NET We know how to use global mutexes to synchronize processes. However, there is a big drawback — we don’t know who owns the mutex and … Continue reading Concurrency Part 8 — Tracking mutex owner

Concurrency Part 5 – WinAPI mutex

May 26, 2018January 2, 2021 ~ 1 Comment

This is the fifth part of the Concurrency series. For your convenience you can find other parts in the table of contents in Part 1 – Mutex performance in .NET Last time we called WinAPI through P/Invoke, today we are going to call it directly. Code Results The results are:     As you can … Continue reading Concurrency Part 5 – WinAPI mutex

Recent Posts

  • Types and Programming Languages Part 3 — Finally during termination
  • Types and Programming Languages Part 2 — Exception while handling exception
  • Types and Programming Languages Part 1 — Do not return in finally
  • .NET Inside Out Part 25 – Using is broken revisited
  • Async Wandering Part 11 — Wrapping fibers in context

Categories

  • Administration
  • Coding
  • Computer Science
  • Databases
  • Debugging
  • Math

Archive

  • January 2021 (4)
  • December 2020 (4)
  • November 2020 (4)
  • October 2020 (5)
  • September 2020 (4)
  • August 2020 (5)
  • July 2020 (4)
  • June 2020 (4)
  • May 2020 (5)
  • April 2020 (4)
  • March 2020 (4)
  • February 2020 (5)
  • January 2020 (4)
  • December 2019 (4)
  • November 2019 (5)
  • October 2019 (4)
  • September 2019 (4)
  • August 2019 (5)
  • July 2019 (4)
  • June 2019 (5)
  • May 2019 (4)
  • April 2019 (4)
  • March 2019 (5)
  • February 2019 (5)
  • January 2019 (4)
  • December 2018 (5)
  • November 2018 (4)
  • October 2018 (4)
  • September 2018 (5)
  • August 2018 (4)
  • July 2018 (4)
  • June 2018 (5)
  • May 2018 (4)
  • April 2018 (4)
  • March 2018 (5)
  • February 2018 (4)
  • January 2018 (4)
  • December 2017 (5)
  • November 2017 (4)
  • October 2017 (4)
  • September 2017 (5)
  • August 2017 (4)
  • July 2017 (5)
  • June 2017 (4)
  • May 2017 (4)
  • April 2017 (5)
  • March 2017 (4)
  • February 2017 (4)
  • January 2017 (4)
  • December 2016 (5)
  • November 2016 (4)
  • October 2016 (5)
  • September 2016 (4)
  • August 2016 (4)
  • July 2016 (5)
  • June 2016 (4)
  • May 2016 (4)
  • April 2016 (5)
  • March 2016 (4)
  • February 2016 (4)
  • January 2016 (5)
  • December 2015 (4)
  • November 2015 (4)
  • October 2015 (5)
  • September 2015 (4)
  • August 2015 (3)

RSS Posts

  • Types and Programming Languages Part 3 — Finally during termination January 23, 2021
  • Types and Programming Languages Part 2 — Exception while handling exception January 16, 2021
  • Types and Programming Languages Part 1 — Do not return in finally January 9, 2021