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

Restrict "Keep track of threads again" to glibc #121

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dereckson
Copy link
Contributor

The fix introduced in 1bd7a3b will only compile with glibc, as it uses additions to pthreads specific to the GNU C Library.

This fix allows in certain conditions to solve a threads issue when the livestatus broker restarts.

As such, it seems currently best to keep it for Linux systems, and skip it elsewhere to allow livestatus to work everywhere else.

The fix introduced in 1bd7a3b
will only compile with glibc, as it uses additions to pthreads
specific to the GNU C Library.

This fix allows in certain conditions to solve a threads issue
when the livestatus broker restarts.

As such, it seems currently best to keep it for Linux systems,
and skip it elsewhere to allow livestatus to work everywhere else.
pthread_t *thr;
#else
pthread_t thr;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i might be wrong, but this seems to be unnecessary and confusing.

@sni
Copy link
Contributor

sni commented Jan 23, 2024

I've got a question :-)
And also i don't have access to the internal jira ticket nor do i know the reason for the change. So no idea if this was a common issue which was solved hereby.

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.

2 participants