improved the cb_cond_timewait for pthreads
improved the cb_cond_timewait for pthreads

Change-Id: Ie31cbfa7fe54cba6cc46a1d4dfb461e5b98026bf
Reviewed-on: http://review.couchbase.org/30049
Reviewed-by: Trond Norbye <60edd2ef23891a753f231b0c6f161dc634079a93@gmail.com>
Tested-by: Trond Norbye <60edd2ef23891a753f231b0c6f161dc634079a93@gmail.com>

vmx/platform,vmx/platform