Description

This is an attempt to see what happens when you combine some simple graph theory with POSIX threads, in an attempt to build automated deadlock detection.

Very much a work in progress!

Of course, right after I started fiddling with this, Dr. Dobbs published a complete solution, wouldn't you just know it?

I've mirrored their code locally: deadlock.zip. The article is in the December 2000 issue, TOC at this DDJ link.

I'd suggest using their code; this is here to remind me to fiddle as I get the time.

View Current Code (HTML formatted w/syntax highlights)

  • dldet.c
  • Download Current Code

  • dldet.c
  • dldet.h
  • test1.c
  • Makefile

  • Back to code page

    Back to home page