|
-
June 30th, 2004, 04:01 AM
#1
Multithreading problem... can anyone solve?
Hi !
I am totally new to multithreading. I know some theories behind but I don't have actual coding experience. Can anyone solve the problem below?
Problem:
Write a program that will increment and display an unsigned integer (UINT) for every 100 milliseconds.
UINT must start from 0 then will be reset to 0 when the highest value that a UINT can have is reached.
The program will terminate when the user presses any key.
CONDITIONS:
1. Create a worker thread that will increment and display the integer.
2. When the user presses any key, the worker thread must be terminated, then the program exits.
Thanks!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|