[M3devel] question on use of Time.Now in thread test program
Coleburn, Randy
rcolebur at SCIRES.COM
Mon Mar 14 23:45:44 CET 2011
I have a question/concern regarding Mika's thread test program.
Each of the threads makes use of the Time.Now() call during each iteration of the thread's main loop.
I haven't fully investigated, but does anyone have concern that so many calls to the system clock from multiple competing threads might have some side effect on the running of multiple threads?
I've also done some limited experimentation with use of counters to see how many times each type of thread is able to go thru its loop between reporting intervals.
I continue to see various types of crashes on Windows 7 (64-bit), but sometimes tests are able to succeed. I haven't found a repeatable pattern yet to the crashes, so I am still investigating, but just thought it worth asking the above question about use of Time.Now().
I will also try to experiment with Windows XP 32-bit and report back.
Regards,
Randy Coleburn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20110314/4fc9452e/attachment-0001.html>
More information about the M3devel
mailing list