This is the Linux app named ringBufU whose latest release can be downloaded as ringBufU-0.2.0.zip. It can be run online in the free hosting provider OnWorks for workstations.
Download and run online this app named ringBufU with OnWorks for free.
Follow these instructions in order to run this app:
- 1. Downloaded this application in your PC.
- 2. Enter in our file manager https://www.onworks.net/myfiles.php?username=XXXXX with the username that you want.
- 3. Upload this application in such filemanager.
- 4. Start the OnWorks Linux online or Windows online emulator or MACOS online emulator from this website.
- 5. From the OnWorks Linux OS you have just started, goto our file manager https://www.onworks.net/myfiles.php?username=XXXXX with the username that you want.
- 6. Download the application, install it and run it.
ringBufU
Ad
DESCRIPTION
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)
Audience
Developers
User interface
Command-line
Programming Language
C++, C
Categories
This is an application that can also be fetched from https://sourceforge.net/projects/ringbufu/. It has been hosted in OnWorks in order to be run online in an easiest way from one of our free Operative Systems.