blocking conditions

using blocking conditions and put to sleep the cpu