News for hackers. Stuff that matters.
Re:Multiple Simultaneous Ajax Requests (with one callback) i... by tmarthal on Friday February 14, 2014 @05:33PM (#7241505)
A 'count-down latch' is commonly (at least when I learned it, using pthreads) called a 'Conditional Variable'.

In your case case, your mutex would be the num_results variable and the conditional is that it is greater than 0.

There are no comments on this comment yet.