Sample code include Minidump

Jun 17, 2009 at 5:07 PM

I have added my code from last nights presentation.  The code can be descrbed as follows

2 Producers -> ThreadSafeQueue -> 4 Consumers

The Producers generate tasks that are placed on the ThreadSafeQueue. Consumers wait for events that indicate that items are available on the ThreadSafe Queue. The application outputs information to a log file in the temporary directory.  A delegate is added to the Structured Exception Handler to catch unhandled exceptions.  If there is an un handled exceptions the application generates a minidump to the temporary directory.  If you have questions regarding minidumps you can discuss with me in person but I prefer this newsgroup so others can see the information I provide.

An further explanation about why my other code deadlocks (intentially) please again post the question....

Have a good day

Geoff Pearce


Jun 18, 2009 at 7:23 PM

updated code to generate better mini dumps