Adds an implementation of pthread_mutex_timedlock for OS X for the thread dispatcher module.
Lower the thread number for the thread dispatcher sample.