"Erich E. Hoover" ehoover@mymail.mines.edu writes:
Sorry I didn't reply to this sooner, I've been at a wedding at just got back to the land of the Internet. I believe that it really does need to be stored in the queue, otherwise in the case that the async operation has not completed when the file descriptor is closed then the cancel completion will not be able to propagate.
I don't think that you can have an async queue that outlives its file descriptor.