[erlang-patches] erlang-patches Digest, Vol 35, Issue 3
Sat Nov 26 02:58:17 CET 2011
2011/11/25 Scott Lystig Fritchie <>
> a count of the queue size.
> With my limited squinting at the new structure, what would be required to
> make the queue length available? It'd be very nice if DTrace probes could
> report the length of the queue when enqueueing/dequeueing. Knowing the
> queue length is easy in R14B04 but seems difficult with the new data
I think that in order not to impact the performance of the lock free queue
we cannot keep an updated record of the queue length around. Another queue
function could be implemented to count the length of queue when needed. An
O(n) operation. Nothing planned as of yet and probably not for R15B, but I
mentioned this to Richard Green so he will keep it in mind.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-patches