Remove spinlock from threadpool task return
The idea to use atomic aligned to cache line for counting finished jobs is reused, but instead of polling a semaphore was added.
Edited by Bartosz Podrygajlo
The idea to use atomic aligned to cache line for counting finished jobs is reused, but instead of polling a semaphore was added.