|
-
May 19th, 2009, 08:42 PM
#1
Implementing timers
Hi,
I have a program that currently does reads/writes to a storage device indefinitely, until the user closes the program. I would like to have a timer that stops the read/write loop after x seconds. I'm wondering what's the best/easiest way to implement this? I'm not familiar with multi-threading programming but it seems like this could be 1 way?
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
|