TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Matthew Southall
NA
3
3.1k
Thread-safe Enumerator without Deadlock
Oct 9 2010 5:45 PM
Hey, i need a way in C# to do a really long Enumeration without Deadlocking the program, at the moment i have a List which it enumerates through doing GetEnumerator() on it and using While(e.MoveNext) etc. But it deadlocks i also have it locking the same list when it needs to add stuff to it.
How can i write a thread-safe enumerator without causing locking?
Reply
Answers (
3
)
When I debug and maximize the form the control place gets changed.....it is not on the position which i want.
C# Word Guessing Game