nathematics
Ars Scholae Palatinae
DrPizza":2lf71hlj said:No, they really don't. The thread model breaks down when you have parallel queues, and when you have retargeted queues. It's just not an accurate model of how GCD works, and I would argue that it has already misled you, as evidenced by your misunderstanding of dispatch_sync.Mark Cianciosa":2lf71hlj said:They act close enough.DrPizza":2lf71hlj said:I would strongly recommend you think of them as nothing of the sort. They're not; they don't act like threads, they don't have any particular correspondence with threads, they're a completely different beast.
There is no queue C, just as there was no thread C.Replace where I said thread with Queue. Queue A and Queue B have to stop while Queue C finishes.
Fucked if I know what that means, I'm afraid. The only statistical function L I've ever used is likelihood, but that makes no sense here.Uniformly distributed and subject to two constraints.How good do you need your random numbers to be?
〈Lᵢ(t)〉 = 0
〈Lᵢ(t)Lᵣ(t')〉 = δᵢᵣδ(t - t')
I'm not sure but I would guess this:
Lᵢ(t) is a random sequence of numbers. 〈Lᵢ(t)〉 is the average* of Lᵢ(t), and 〈Lᵢ(t)Lᵣ(t')〉 is the average crosscorrelation of the sequence Li(t) with a separate, time sequence we don't know about Lᵣ(t'). That is to say the second equation specifies the average value of the dot product between the sequence Lᵢ(t) and another sequence Lᵣ(t'). If I had to interpret that, it would be a time shifted Dirac delta function times "δᵢᵣ" which makes little sense to me, as appears to be a 2x2 matrix, and δᵢᵣ is unknown to me.
Edit:
*I think the brackets indicate time averages. The is the integral of Li(i) dt divided by the difference between the start and end time values of integration.