« August 2014 | September 2014 Archives | November 2014 »

Surprising Slim Reader/Writer Lock thread exit issues.

| 1 Comment
I've been noticing a strange thing for a while on Windows 8/8.1 and the equivalent server versions. The issue occurs when I'm using a Slim Reader/Writer Lock (SRWL) exclusively in exclusive mode (as a replacement for critical sections). What happens is, when a thread that has just unlocked a SRWL exits cleanly, immediately after unlocking the lock, sometimes threads that are waiting on the lock do not get woken and none of them acquire the lock. At first I spent ages thinking that this was some kind of subtle bug in my LockExplorer tool as initially the problem only manifested…
« August 2014 | September 2014 Archives | November 2014 »

About this Archive

This page is an archive of entries from September 2014 listed from newest to oldest.

August 2014 is the previous archive.

November 2014 is the next archive.

I usually write about C++ development on Windows platforms, but I often ramble on about other less technical stuff...

Find recent content on the main index or look in the archives to find all content.

I have other blogs...

Subscribe to feed The Server Framework - high performance server development
Subscribe to feed Lock Explorer - deadlock detection and multi-threaded performance tools
Subscribe to feed l'Hexapod - embedded electronics and robotics
Subscribe to feed MegèveSki - skiing