notify shall be protected under mutex