15,892,809 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by _Nizar (Top 4 by date)
_Nizar
10-Sep-13 2:18am
View
Reason for my vote of 5 \n Great
_Nizar
9-Jan-13 5:37am
View
The data are not static.
Now after some investigation I found that when I run the code using the debugger so I give all the tasks time to finish before the next task will begin very thing work fine.
But if I run the code using also the debugger but with out giving the firs task time to finish before the next task the last task runs twice so a conflicting happen and the first task never runs.
I'm ready to give my program for investigation.
I have only this problem ales it is working fine in sequence.
thank you for your support
_Nizar
8-Jan-13 4:31am
View
the tasks are independent from each other
_Nizar
8-Jan-13 2:48am
View
Using lock statement will be benefit if I'm using one object and i access its method from many threads.
But in my case I'm using one object per Task they share nothing, so why the access the same property (class variable).
I want to publish my program here but after i have fixed this problem.