Monthly Archives: October 2019

Archive of posts published in the specified Month

Concurrency Part 8 — Tracking mutex owner

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…

Concurrency Part 7 — Semaphores trickery

This is the seventh 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 examined an interesting behavior of Mutex when it is abandoned.…

Capturing all output in Powershell

Today very simple trick to capture whole output from Powershell. Let’s see those files: 1.ps1

2.ps1

3.bat

4.vbs

5.exe

6.exe

Let’s now run this with powershell:

Okay, we have all STD OUT and STD ERR streams.…