02-10-2019, 07:58 PM
(This post was last modified: 02-10-2019, 08:40 PM by ldarrambide.)
Thanks
I have little remembrance about semaphore use, and did not think of them.
BUT
1. why you use :
WaitForThreads 0 "MKV:Convert" ;;to avoid calling ReleaseSemaphore(closedHandle)????
2. Why use a sub function to release the semaphore (ReleaseSem) and not do it directly at the end of the convert function?
3 Why use atend and no call the sub function ReleaseSem directly at the end of the convert function?
I have little remembrance about semaphore use, and did not think of them.
BUT
1. why you use :
WaitForThreads 0 "MKV:Convert" ;;to avoid calling ReleaseSemaphore(closedHandle)????
2. Why use a sub function to release the semaphore (ReleaseSem) and not do it directly at the end of the convert function?
3 Why use atend and no call the sub function ReleaseSem directly at the end of the convert function?
