Task Parallel Library: Task Results
- Posted: Jul 07, 2009 at 4:56 AM
- 11,181 Views
- 3 Comments
Download
How do I download the videos?
- To download, right click the file type you would like and pick “Save target as…” or “Save link as…”
Why should I download videos from Channel9?
- It's an easy way to save the videos you like locally.
- You can save the videos in order to watch them offline.
- If all you want is to hear the audio, you can download the MP3!
Which version should I choose?
- If you want to view the video on your PC, Xbox or Media Center, download the High Quality WMV file (this is the highest quality version we have available).
- If you'd like a lower bitrate version, to reduce the download time or cost, then choose the Medium Quality WMV file.
- If you have a Zune, WP7, iPhone, iPad, or iPod device, choose the low or medium MP4 file.
- If you just want to hear the audio of the video, choose the MP3 file.
Right click “Save as…”
- Mid Quality WMV (Lo-band, Mobile)
- MP3 (Audio only)
- MP4 (iPod, Zune HD)
In diesem Screencast wird gezeigt wie die Klasse Task Rückgabewerte an die Ablauflogik zurückliefern kann. . Der Screencast basiert auf der Visual Studio 2010 Beta 1 und demzufolge kann sich die API ändern.
Viel Spaß beim reinschauen,
Dariusz
Viel Spaß beim reinschauen,
Dariusz
Comments Closed
Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation,
please create a new thread in our Forums,
or
Contact Us and let us know.
Follow the Discussion
Нихрена не понял, но прикольно!!!
Actually I can understand German. Author shows us the way we can use new Threading extensions and Result property in particual in some syntetic sample. Do you really gonna draw a graph of relation (sync-ing) for more than 1 different compenting threads types? Do it actually works for you? I mean there is a better way to spen our time anyway
If guys from Microsoft even forgot this field it is trivial to implement it manually. Anyway, good news that they didn't forget all great Result property.
Suppose it is a naive implementation of sequential access pattern. I'm even thiniking should or shoudnt I create the analogue sample for the my library at http://plugins.codeplex.com? Because I already have working sequential pattern (in conjunction of lasy evaluation pattern) in use of logging mechanism, when a lot of logging operations each of them is not VERY time consuming, can resonably slow down OVERALL application preformance. See my SequentialWorkItem<T> implementation in Plugins.Threading library.
@hack2roototmai
Thanks for your feedback. Of course my sample is simple and synthetic. But I don't really get your point about the possible usage of future results. Would be great if you could explain this in more depth.
Regarding the overhead: Each parallel implementation (it doesn't matter which one, even if you are doing it yourself) comes with the cost of overhead. So, is the overhead worth to parallize and you still benefit then do it. If not, just don't.
Remove this comment
Remove this thread
close