If SEV_Framelock is 60 seconds (and you converted to microseconds), allocFrameTime will be 0, because 1,000,000/60,000,000 is 0.0166 and allocFrameTime is an integer type.
Then between < allocFrameTime will always be false (except I don't know what between holds).
But why do you want to sleep anyway? Are you using threads?