wow  dumb   of me i looked at the mutex for the above stuff and somehow assumed it was getting unlocked in the block above yes  this makes a lot of sense then if there is already an event in the fifo then it must be a wake event and we must be in the process of waking up so keeping the rest of the keys makes lots of sense  