Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
0
Reply
Are tasks start to work respectively ?
Murad BASDAG
May 29 2012 5:08 AM
1.2k
Reply
Hello all,
I'm new on parallel programmin in .NET 4.0. I want to use tasks in my application as below
lock (lckObj)
msg = Messages.Dequeue();
var tsk = Task.Factory.StartNew( () => ProcessMessage( msg ) );
These codes are working in a while loop. Everything is working well there is no problem but there is one point which i need to be sure. As you can guess it will try to start tasks respectively and working respectively is the most importent thing in these part of the codes. If you have any knowledge are the tasks work respectively as i started in my code or not please share your ideas with me.
Because if they do not start to work respectively i should give up to use parrallel programming in this portion of my application.
Thank you for your interesting about my post.
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
0
)
Next Recommended Forum
We have BindingList, no need to implement the interface INotifyPropertyChanged???
Protected Class-Level Variable