REMINDER TO SELF: you can't suspend or resume pthreads - period.
So I changed things so that in the Unix implementation,
we fork a second process, in which the threads run.
The first process handles suspend/resume messages
by signaling the 2nd process.
The 2nd process generates system messages (frac done, CPU time)
svn path=/trunk/boinc_samples/; revision=14977
It turned out that the VS2005 C++ compiler was noticing
that giga_flop() didn't use any inputs or globals,
so it was caching its value after the first run.
Very impressive!
svn path=/trunk/boinc_samples/; revision=14952