jberryman / unagi-chan

A haskell library implementing fast and scalable concurrent queues for x86, with a Chan-like API
BSD 3-Clause "New" or "Revised" License
127 stars 15 forks source link

Add estimatedLength for bounded queues #24

Closed danclien closed 6 years ago

danclien commented 6 years ago

Adds an estimatedLength function for #23.

Since the InChan constructors are not exported, I added estimatedLength into Control.Concurrent.Chan.Unagi.Bounded.Internal and exported it in Control.Concurrent.Chan.Unagi.Bounded.

jberryman commented 6 years ago

Thanks!

qrilka commented 6 years ago

@jberryman any chance to have a minor hackage release with this new feature?

jberryman commented 6 years ago

@qrilka Just released 0.4.1.0