Forum Discussion
360tv
13 years agoStreaming Star
it's more like I'm doing a loop that will sleep(39) 255 times
it's a lot to explain as to why I have to do it, but sometimes during a 10 second notification period, it may be told to sleep 6 seconds, then perform a loop that takes a total of 15 seconds, and it won't be until then that it does another notification.
So, basically, one notification period may have loops triggered within it that far exceed the notification period, in which case, putting a flag at the beginning of the notification won't work.
I wish I could post all my code but the function it's contained in is 400 lines, with the msg.isplaybackposition loop about 300 lines. it's a lot to go thru to take out what I don't want to show.
it's a lot to explain as to why I have to do it, but sometimes during a 10 second notification period, it may be told to sleep 6 seconds, then perform a loop that takes a total of 15 seconds, and it won't be until then that it does another notification.
So, basically, one notification period may have loops triggered within it that far exceed the notification period, in which case, putting a flag at the beginning of the notification won't work.
I wish I could post all my code but the function it's contained in is 400 lines, with the msg.isplaybackposition loop about 300 lines. it's a lot to go thru to take out what I don't want to show.