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.