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

Fix thread initialization for QNX and handle pthread_create return value #738

Merged
merged 1 commit into from
Mar 25, 2025

Conversation

mberk-yilmaz
Copy link
Contributor

@mberk-yilmaz mberk-yilmaz commented Mar 18, 2025

Problem: Thread not starting on QNX 8.0

Cause: pthread_create() was failing due to an uninitialized pthread_attr_t structure.

Fix:

  • Properly initialize "pthread_attr_t" using pthread_attr_init()
  • Add error handling and logging for pthread_create failures.

…lue.

- Properly initialize pthread attributes using pthread_attr_init().
- Add error handling and logging for pthread_create failure.
@minminlittleshrimp
Copy link
Collaborator

minminlittleshrimp commented Mar 24, 2025

Please rebase on mutex attr fix and corect commit msg

@mberk-yilmaz
Copy link
Contributor Author

mberk-yilmaz commented Mar 24, 2025

@minminlittleshrimp

could you please clarify what you mean by 'rebase on mutex attr fix'? is it referring to a specific commit or branch? i couldn't find any branch or commit with that name in the repository

@minminlittleshrimp
Copy link
Collaborator

Please ignore, I approve and run CI/CD, feel free to merge.

@minminlittleshrimp minminlittleshrimp merged commit 7d84e90 into COVESA:master Mar 25, 2025
3 checks passed
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