Tech
Forums
Jobs
Books
Events
Live
Interviews
More
Learn
Training
Career
Members
Videos
News
Blogs
Post
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
2
Reply
Synchronizing Text/File I/O
Jerry Fike
Dec 21 2009 1:56 PM
3k
Reply
A beginners question and I'm not sure how to phrase it or do a proper search, so I'm hoping someone can point me in the right direction.
I'm writing a program that reads a rather large text file (20,000+ lines) so it takes a few seconds to read the data in. So I decided to put up a couple messages, like "reading" and the file path. My problem is, even though I initiate the messages first, before reading the text file, the messages don't show until the file read is complete.
So is threading the area I need to go to? I vaguely remember using semaphores in C some years ago.
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
The element
may only appear once in this section.
c# Multimedia