Skip to content

Fix pthread_setname not declared#4210

Merged
aleks-f merged 3 commits intodevelfrom
3832-pthread_getname-not-declared
Oct 23, 2023
Merged

Fix pthread_setname not declared#4210
aleks-f merged 3 commits intodevelfrom
3832-pthread_getname-not-declared

Conversation

@pavledragisic
Copy link
Copy Markdown
Member

No description provided.

@pavledragisic pavledragisic linked an issue Oct 22, 2023 that may be closed by this pull request
@pavledragisic pavledragisic requested a review from aleks-f October 22, 2023 10:47
@aleks-f
Copy link
Copy Markdown
Member

aleks-f commented Oct 22, 2023

@pavledragisic failing on mac with cmake:

In file included from /Users/runner/work/poco/poco/Foundation/src/Thread.cpp:32:
/Users/runner/work/poco/poco/Foundation/src/Thread_POSIX.cpp:24:10: fatal error: 'sys/prctl.h' file not found
#include <sys/prctl.h>
         ^~~~~~~~~~~~~

Copy link
Copy Markdown
Member

@aleks-f aleks-f left a comment

Choose a reason for hiding this comment

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

failing on mac with cmake:

In file included from /Users/runner/work/poco/poco/Foundation/src/Thread.cpp:32:
/Users/runner/work/poco/poco/Foundation/src/Thread_POSIX.cpp:24:10: fatal error: 'sys/prctl.h' file not found
#include <sys/prctl.h>
         ^~~~~~~~~~~~~

@aleks-f aleks-f added this to the Release 1.12.5 milestone Oct 22, 2023
@aleks-f aleks-f merged commit c918c70 into devel Oct 23, 2023
@aleks-f aleks-f deleted the 3832-pthread_getname-not-declared branch October 23, 2023 06:18
aleks-f pushed a commit that referenced this pull request Nov 23, 2023
* Fix pthread_setname not declared #4063

* Fix include prctl.h for specific OS #4063

* Fix getThreadName for specific OS #4063

---------

Co-authored-by: root <root@debian-gnu-linux-11.localdomain>
Co-authored-by: Pavle <pavle@debian-gnu-linux-11.localdomain>
aleks-f pushed a commit that referenced this pull request Nov 27, 2023
* Fix pthread_setname not declared #4063

* Fix include prctl.h for specific OS #4063

* Fix getThreadName for specific OS #4063

---------

Co-authored-by: root <root@debian-gnu-linux-11.localdomain>
Co-authored-by: Pavle <pavle@debian-gnu-linux-11.localdomain>
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.

'pthread_getname_np' was not declared in this scope

2 participants