By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,988 Members | 1,367 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,988 IT Pros & Developers. It's quick & easy.

Windows Application to demonstrate the use of Multi-Threading with Synchronous & Asyn

ammoos
100+
P: 100
hi friends

pls help me.. i got an assignment which i feel very difficult to me.. i dont have more knowledge about multi-threading in .net...
the assignment details is below.... pls help me... i have to submit this assignment today evening... please.......

Windows Application to demonstrate the use of Multi-Threading with Synchronous & Asynchronous Threading.
Requirements
1) A form with
a) a button to initialize threads
b) two text display areas.
2) Facility to select two filenames, and read both files simultaneously into the appropriate text display areas using threads.

3) After each read(say read 30 bytes at a time), the thread wait for 1 second.

4) User should be able to stop each thread and resume independently. When resumed, it should read the remaining part of the file [from where it stopped.]

5) An Exit button should stop the threads *immediately* and exit the application.

6) An Option Button Group to Select Between Synchronous and Asynchronous Threads.

Other Requirements
1) Use Multi-Threading
2) Don't Use Sleep () for making thread to wait.
3) Don't use Abort () for stopping the threads.
4) Demonstrate both Synchronous & Asynchronous threading.

with hope
Apr 20 '07 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.