Board: [DeveloperNet] C# Subject: Asynchronous programming From: art Date: Sat Jun 11, 2011 09:10 Re: Asynchronous programming in the next C# By: Nightfox to All on Mon Jun 06 2011 18:54:10 Hi Nightfox, > saw was aboutasynchronous programming features to appear in the next > of C#. The point was that they're changing the paradigm for parallel > programming a bit - There will be ways to do parallel programming without > directly using threads. For instance, in the next C#, 'await' will be a new > language keyword that will run a function in a separate thread and wait for > to finish. This can be used, for example, to prevent the GUI from freezing Wow, interesting. When you say "directly", does this mean that await simplifies and wraps System.Threading methods, or is it a completely threadless way of running processes in parallel? It certainly looks useful, although if it's just new methods for threads, I'm not sure why they've done that, as the C# Threading classes seemed pretty straightforward to use in my experience. Kind regards, ________________ _______ \_____ __ \ ___\ \ __ \ <_ \ @ fatcats[dot]poorcoding[dot]com \_______\___\___\___\ ------------------------------------ f a t c a t s b b s --- ■ Synchronet ■ fatcats bbs - http://fatcats.poorcoding.com .