Dan has an article showing some nice syntactical sugar for spawning threads. Dan has been studying the model of CCR, currently part of Robotics Studio. The article specifically mentions the Compact Framework, but if you are doing full-framework development I would encourage you to check out the Parallel Extensions library as well. It was mentioned at TechEd that the CCR might be refactored to use the TPL, so it'd be worth taking a peak at. Using System.Threading.Tasks you could write code that starts to look less like the traditional ThreadStart code and more like what Dan is doing. Without spending more than 30 seconds on this idea:
(a) => {
tm, tco);
If we start to see some multi-core mobile processors, it might be an interesting excercise to port a subset of PFX to the Compact Framework.
Remember Me
a@href@title, strike
Powered by: newtelligence dasBlog 2.0.7226.0
Disclaimer The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.
© Copyright 2008, Damon Payne
E-mail