tweaked lock aquire to store waiters properly
Updated documentation for submission