eqs-nz / rubyscan

Ruby language bindings for the Hyperscan library
BSD 2-Clause "Simplified" License
3 stars 1 forks source link

implement size tracking on queue objects #11

Closed tendrils closed 7 years ago

tendrils commented 7 years ago

struct queue has a field labeled length; this should be incremented atomically when elements are added, and decremented atomically when elements are shifted or dropped.

tendrils commented 7 years ago

done @51e6b9b180da83a7518aa64f49ba035dd6582293