#638, checking/configuring in cmake pthread_yield and sched_yield; READLINE_ROOT for better readline control;
#638, minor fixes & updates;
Darwin fixes: code review.
Merge branch 'darwin-support'