Process jobs on the calling thread when WAIT_INIT is used.
Since the calling thread is waiting anyway, it's better to just do the processing on the calling thread rather than posting it to the job queue and waiting. This ensures the calling thread stays busy which will improve performance, but it also makes it so the calling thread doesn't get stalled while already-queued jobs are getting processed.
Showing
Please register or sign in to comment