added mutex,m split into two shared memory, added locks