TEMPORAL SEGREGATION SOLUTION. “Many unicellular organisms have overcome this problem by temporal segregation of incompatible activities, essentially cycling between phases dedicated solely to a single activity. These cycles can be regulated by endogenous rhythmic mechanisms, as well as by external signals.”
http://rspb.royalsocietypublishing.org/content/early/2011/12/05/rspb.2011.1999.short