Reason I'm asking is that I like my cleanup code to be the more generalistic possible, so I do a general clean up code includeed in the second part of Initialization routine, wich is called with an argument to finalize instead of initializing. This allows me to call the ini/finalization code mostly in the same manner from the rest of the routines wich simplifies things...
My current problem is I'd like to do the same with some timer related stuff and sometimes the timer requests will have already finished when I call the finalization routine other times they haven't. But what's worse is that sometimes they will have already finished but haven't been taken off the message port list, other times they have. This means I can't just Abort() and WaitIO(). So will a CheckIO() work, even if the request has already been replied and taken off the reply ports list? If so, I could use it to see if the IORequest has been replied and then take out any requests that are still at the port if it has, or Abort first if not. If CheckIO can't work in those conditions I don't the way....
:pint: