Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Development/cyclicbuffer #1739

Merged
merged 71 commits into from
Sep 9, 2024
Merged

Development/cyclicbuffer #1739

merged 71 commits into from
Sep 9, 2024

Conversation

msieben
Copy link
Contributor

@msieben msieben commented Sep 9, 2024

A little housekeeping

… (the true) creation of the underlying buffer.

Initialization of an already intialized mutex or condition variable may result in undefined behavior. In the context of multiple users one 'creates' and others 'open'. This allows differentiation similar to the contructor taking DataElementFile as argument.
…ition variables are properly initialized before first use.
The typical use case is inter-process, but it allows for multiple threads within a process as gettid() is unique over all processes.
Different workers may be executed from the same underlying pthread.
…0c1e9c3cfa' from 'development/cyclicbuffer-deadlock-on-length'.
…14546c50' from 'development/cyclicbuffer-deadlock-on-length'.
Although explicit specification may be preferred, implicit is apparently the accepted use case.
While (looped) waiting on condition variable in 'Sync()' the time out triggers an 'abort()'.
msieben and others added 25 commits April 4, 2024 09:13
Kept certain 'local' files intact with merge strategy
…23'.

- Start using the unresponsive detection.

- Copy and use the boolean result of the guarded code.
- Added or modified comments.

- Only validate reader data if overwrite is disabled.
…testing the effect of 'Reserved' and 'Write'
Make more explicit the effect of 'write', 'reserved' and 'overwrite' with modified data set
* Added buildinfo method for QA report

* Added public compilesettings

* Updated Controller.cpp from seb comments

* Updated CMakeLists.txt in core

* added priv compilesettings

* Added threadcount to buildinfo

* Added unused variable macro

* systemtype and universal build flags

* enum extensions

* spelling

* empty commit to test action

* shortened namespaces and whitespace

* extra line

---------

Co-authored-by: Pierre Wielders <pierre@wielders.net>
@msieben msieben merged commit 377b90f into master Sep 9, 2024
38 checks passed
@pwielders pwielders deleted the development/cyclicbuffer branch October 11, 2024 18:28
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.

3 participants