* @param id
* The ID of the thread to wait for.
* @param result
- * (optional) The data returned by the terminated thread (usually the exist status).
+ * (optional) The data returned by the terminated thread (usually the exit status).
* If the terminated thread is cancelled, then this holds PTHREAD_CANCELED.
*
* Set to NULL to not use.
* @param id
* The ID of the thread to wait for.
* @param result
- * (optional) The data returned by the terminated thread (usually the exist status).
+ * (optional) The data returned by the terminated thread (usually the exit status).
* If the terminated thread is cancelled, then this holds PTHREAD_CANCELED.
*
* Set to NULL to not use.
* The amount of time to wait for.
* The wait time is relative to the clock, so consider calling clock_gettime() or gettimeofday() and then adding the amount of wait time.
* @param result
- * (optional) The data returned by the terminated thread (usually the exist status).
+ * (optional) The data returned by the terminated thread (usually the exit status).
* If the terminated thread is cancelled, then this holds PTHREAD_CANCELED.
*
* Set to NULL to not use.