Free Republic
Browse · Search
General/Chat
Topics · Post Article

To: varmintman
Doctor Google says .NET 4.0 has enhanced multithread capability. You can brighten 4.0's IQ by using backgroundworker.

http://msdn.microsoft.com/en-us/library/ck8bc5c6.aspx

3 posted on 05/21/2012 6:25:25 AM PDT by Lazamataz (The so-called 'mainstream' media has gone from "biased" straight to "utterly surreal".)
[ Post Reply | Private Reply | To 1 | View Replies ]


To: Lazamataz

.Net may or may not be an option here, not sure. The main dll has to stay MFC, performance concerns as well as concerns with how easy the code would be to disassemble. The part which does threading however is separate from that and converting it to .Net might work if there’s no way to get to using an I7 with MFC code.


4 posted on 05/21/2012 6:35:09 AM PDT by varmintman
[ Post Reply | Private Reply | To 3 | View Replies ]

To: Lazamataz

The Background Worker is the new preferred way from what I was reading. With respect to thread dispatch on individual processor cores, you should be able see processor demand curves in perfmon?

I have a multi-threaded c# application I’ve been hacking on for several months, and several things I have noticed in VS 2010 is that debugging is definitely not linear. In fact, the only way I have been able to effectively debug is with log statements. I had to do use lock on a readonly object to single thread through the logger, but it seems to be effective, more or less. At least I’ve been able to generate the application, thank goodness...


6 posted on 05/21/2012 6:46:42 AM PDT by gcraig (Freedom isn't free)
[ Post Reply | Private Reply | To 3 | View Replies ]

Free Republic
Browse · Search
General/Chat
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson