initial revision copied from test_inspect/simple-pthread-deadlock.c
modified to make this use a classic deadlock
added attribution notes
renamed file to better describe its contents