Matt Sabins wrote a dynmaic race detector similar to Eraser.
Here is Matt's Linux Challenge write-up HTML or DOC .
Here is a tar file with Matt's full project source code.
You can also browse his source code here .