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
Oren Kl
NA
2
0
Synchronizing two different objects
May 4 2006 9:03 AM
Hi, I have a problem in my program where I got two different object (from different classes) using the same resource. One of the objects recreates a file every x seconds, while the second object is reading the file when it is called by the user. When the file reading occurs during the file creation, I get an exception. How do I use the Lock mechanizem (or any other option) to give this resourcse an exslusive access? Thanks, Oren.
Reply
Answers (
0
)
Detail of threading
System.Threading timer problem for beginner (Windows service, sending e-mails)