A Ring-Buffer instance could be used with element types
- char
- long
- long long
- void*
.
Focus is on a hardened SW structure with buffer-instance-pointer check (not very fast but more secure).
Some features are globally choosable on compile-time (e.g. switch multithread support off completely to have faster access).
Note: User Interface is for Test and Tutor Code only.

Features

  • Select Ring-Buffer type on creation-time (-> per Ring-Buffer instance)
  • In C++ as well usable - ring-buffer source code in C, embraced with 'extern "C"'
  • Multithreading support for windows (CriticalSection), C++ (std::mutex) and POSIX (pthread_mutex)
  • A tutor C-file should help to understand APIs and functionality easier
  • Use as a FIFO of course, e.g. to realize asynchronous state-machines
  • Wrapping of put/get/.. functions easy because of function-ptr integration in public Ring-Buffer instance struct variable
  • LIFO prepared (Stack-Buffer, NY-supported)
  • See readme file ~under~ "files" for more information
  • Only a few libraries needed (see code / makefile)

Project Activity

See All Activity >

Categories

Algorithms, Libraries

Follow ringBufU

ringBufU Web Site

You Might Also Like
Our Free Plans just got better! | Auth0 by Okta Icon
Our Free Plans just got better! | Auth0 by Okta

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your secuirty. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of ringBufU!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Intended Audience

Developers

User Interface

Command-line

Programming Language

C++, C

Related Categories

C++ Algorithms, C++ Libraries, C Algorithms, C Libraries

Registered

2019-06-09