Skip to content

Conversation

zktos
Copy link

@zktos zktos commented Jun 8, 2020

Initial attempt on making BBQueue generic, so it is possible to create and use a ring buffer with primitive or non-primitive types.

  • Made BBQueue generic over the element type
  • Framed versions of producer and consumer are available if element type is u8
  • BBBuffer is now a type alias for GenericBBBuffer (which breaks direct use of BBBuffer(...) constructors)

ZK and others added 7 commits May 25, 2020 23:46
Tests seem to be passing when type is u8, plain old data or Clone
* upstream/master:
  0.4.8 release
  Allow write access to a read grant (jamesmunns#64)

# Conflicts:
#	core/src/bbbuffer.rs
* master:
  0.4.8 release
  Allow write access to a read grant (jamesmunns#64)

# Conflicts:
#	core/src/bbbuffer.rs
Support non-primitive types
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant