StructDB, a thread/garbage/type-safe DB in C

This forum is about you. Feel free to discuss anything is related to embedded and electronics, your awesome projects, your ideas, your announcements, not necessarily related to ChibiOS but to embedded in general. This forum is NOT for support.
lesto
Posts: 55
Joined: Thu May 22, 2014 11:27 am

StructDB, a thread/garbage/type-safe DB in C

Postby lesto » Fri Oct 03, 2014 2:33 pm

Hello,
i needed to keep aligned some struct in my code.

But i wanted to be easy to add structure, and make them thread-safe, garbage-safe, type-safe and easy to use, so anybody can use it with little effort.

Also i wanted to make it type safe and as static as possible, without the need to use any allocation.

What i created (with the help of Francesco Nero) is this: https://github.com/MauroMombelli/microStructDb

i would like to have a feddback on code style and everythig.

please note that the is missing locking mechanism into https://github.com/MauroMombelli/microS ... c/engine.h, so it is not thread-safe (but is portable), i'm planning to use Mutex in my application, but it is up to you.

Return to “User Projects”

Who is online

Users browsing this forum: No registered users and 1 guest