mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-05-19 03:56:18 -04:00
* use pthread_join instead of pthread_tryjoin_np
This commit is contained in:
@@ -120,7 +120,7 @@ int FfmpegCamera::Capture( Image &image )
|
||||
void *retval = 0;
|
||||
int ret;
|
||||
|
||||
ret = pthread_tryjoin_np(mReopenThread, &retval);
|
||||
ret = pthread_join(mReopenThread, &retval);
|
||||
if (ret != 0){
|
||||
Error("Could not join reopen thread.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user