in reply to Re^2: do something no more than 3 times a second
in thread do something no more than 3 times a second
Sure, but select() isn't the standard sleep either. And you still need to figure out what the fourth argument should be - select() isn't going to tell you that.