scj7t4/FREEDM — pull request #243 by Catanzaro (2013-07-01 20:45:42+00:00)
Title: Put a mutex around CLog::write

Issue #224 has me slightly stumped. But it does seem like our logging facility is not safe to use from multiple threads. This is the first possible fix that came to mind... I've started the DGI probably about 200ishish times now without getting any corruption, and it used to happen every maybe 30-60ish runs, so it might work... do please look this over.

Pull request attempt #2, with about 10,000 fewer modifications