This occurs usually when two threads are passing messages by environment and checking member variables of a category each can access. You will find almost always a race condition when a single thread phone calls sleep to present A different thread time to complete a activity (Until that sleep is within a loop, with some examining system).In actual