port based messaging cfrunloop - pthreads .. apples sample edited for MP Apis